Dictionary for local C ++ lawyers

In C ++, there are terms that are not mentioned or explained in most C ++ books. For instance:

  • unique iterator ( link )
  • qualified name ( link )
  • dependent name
  • inferred context
  • Shadow
  • x / gl / pr-value ( link )
  • incomplete type ( link )

You will not understand compiler error messages unless you know what they mean. I know the meaning of all the above terms (they are just an example). Due to some non-trivial googling - I could define the meaning of the term. In the case of a single iterator, I had to look into the gcc source code.

Is there a dictionary or something where they are explained and defined not too friendly, as in the standard?

+4
source share
1 answer

Here we are the official C ++ 11 working draft .

In this document, anyone can see the phrases you mentioned:

  • unique iterator - not found, (24.2.1: "Iterators can also have singular values ​​that are not associated with any sequence", and "Invalid iterator is an iterator that can be singular")
  • qualified name - found, explained
  • dependent name - found, explained
  • inferred context - found, explained
  • shadow - not found
  • xvalue - not found, (3.10: xvalue [the value of "eXpiring"] also applies to the object)
  • gl-value - not found, (3.10: glvalue ["generalized" lvalue] is lvalue or xvalue)
  • pr-value - not found, (3.10: Prvalue ["pure" rvalue] is the value of r, which is not the value of x)
  • incomplete type - found, explained

Other terms can be searched on the Internet, but it seems more or less vendor-specific phrases, if I'm not mistaken.


Updated after comment by Jonathan Wackel.
+2
source

All Articles