TL;DR
Suppose that a question asks about the rationale of including a specific feature in a language (C++, if that matters). Is it appropriate to tag this question language-lawyer?
Full story
Here's the full body of the Stack Overflow question Example of class object implementing operator[] using an initializer-list as the function argument:
[expr.sub]/4 allows an initializer-list to be passed as an argument of
operator[]
for an object of class type. What would be a practical example using this technique?
which is tagged language-lawyer by the OP.
@StoryTeller removed the tag with the edit summary
This is not a language lawyer question. Practical examples are not about the intricacies of the specification.
However, this edit is rolled back by the OP, without providing a reason.
Later, I removed the tag again, leaving the comment
Why do you tag language-lawyer? I don't think the answer to this question can be found in the standard.
The OP rolled back again, this time providing a comment:
@L.F. If I can't find an example for this use, I'll have a strong indication that the grammar production [...] could be simplified. With this in mind, I'm rolling back your edit.
followed by two other comments:
I'm sorry, but the standard allowing one thing doesn't necessarily mean you can easily find a practical example of its usage. The fact that the standard allows something isn't inherently language lawyering. I believe your actual question is "what is the rationale for allowing a braced-init-list in
[]
", which isn't a language-lawyer question. If not, then you should clarify your question. – L. F.@L.F. Well,I disagree with your statement above: "what is the rationale for allowing a braced-init-list in
[]
", which isn't a language-lawyer question. – Alexander
Apparently, my persuasion had little effect, so I refrained from starting an edit war. That's why I am asking here on Meta.
The tag info
From the language-lawyer tag info:
For questions about the intricacies of formal or authoritative specifications of programming languages and environments.
Typical questions concern gaps between "what will usually work in practice" and "what the spec actually guarantees", but problems with understanding the structure of the spec are also on topic.
Use this tag for questions where you are interested in the formal specification for a certain behavior in the given programming language, even though your question might otherwise have no practical use, or if the code posted would not make sense in a real-world application.
Always combine this tag with a programming language tag.
I'm not sure whether this particular question is about the "intricacies of formal or authoritative specifications of programming languages and environments" or is "interested in the formal specification for a certain behavior in the given programming language." StoryTeller and I don't think so, but I would like to hear the opinion of the community.