identifier

   
identifier Name of an entity

  id-expression  ::=  unqualified-id   qualified-id   unqualified-id  ::=  identifier   operator-function-id   conversion-function-id  ~  class-name   template-id   qualified-id  ::= [::]  nested-name  :: [template]  unqualified-id  ::  identifier  ::  operator-function-id  ::  template-id   nested-name  ::=  class-or-namespace-name   nested-name  [::  class-or-namespace-name  ]  nested-name  [:: template  class-name  ]  class-or-namespace-name  ::=  class-name   namespace-name   class-name  ::=  identifier   template-id   namespace-name  ::=  identifier  

An entity name can be a simple identifier, an operator name, or a qualified name. See Chapter 1 for the rules that apply to valid identifiers. See Chapter 5 for more information on overloaded operators. See operator for the rules that apply to operator-function-id and conversion-function-id .

See Also

class , declarator , namespace , operator , Chapter 1, Chapter 2

   


C++ in a Nutshell
C++ in a Nutshell
ISBN: 059600298X
EAN: 2147483647
Year: 2005
Pages: 270
Authors: Ray Lischner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net