...
Table of Content Zone | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
Explicit Template InstanceExplicit template instances for types, functions and variables. For example:
FriendFriend function declaration. For example:
FunctionsFunction declarations. This includes Global and Member functions.. Global FunctionGlobal function declaration. For example:
Member FunctionMember function declaration. For example:
ParameterParameters include parameter and this. ParameterFunction parameter declaration. For example:
ThisParameter usage. For example:
Static assertion declaration. For example:
VariablesVariables include global, local, and member variables. Global VariableGlobal Variable. For example:
Local VariableLocal Variable. For example:
Member VariableMember Variable. For example:
|
...
Table of Content Zone | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
BlockBlock statement. Normally contains other statements. Begins and ends with curly braces. For example:
Case LableRepresents a
SimpleA statement that does not fall into any other statement category. The simple statement's body usually contains an expression. For example:
EmptyAn empty
breakBreak statement. For example:
caseCase statement. For example:
catchCatch statement used for exception handling. For example:
continueContinue statement used in loops. For example:
defaultDefault statement used inside a switch statement. For example:
dowhjilewhileDo while loop statement. For example:
forFor loop statement. For example:
for rangeRange-based for loop statement. For example:
gotoGoto statement. For example:
ifIf statement. For example:
returnReturn statement. For example:
switchSwitch statement. For example:
tryTry statement. For example:
whileWhile statement. For example:
|
...