Programar em C++/Lista de Palavras Reservadas do C++: diferenças entre revisões

[edição verificada][edição verificada]
Conteúdo apagado Conteúdo adicionado
m Foram revertidas as edições de 187.51.71.82 (disc) para a última versão por Helder.wiki.bot
Abacaxi (discussão | contribs)
Sem resumo de edição
 
Linha 1:
Estas são as palavras reservadas do c++:
 
<source lang=cpp>
{| class="wikitable"
asm auto break case
|-
catch char class const
| alignas (since C++11) || alignof (since C++11) || and
continue default delete do
|-
double else enum extern
| and_eq || asm || auto
float for friend goto
|-
if inline int long
| bitand || bitor || bool
new operator private protected
|-
public register return short
| break || case || catch
signed sizeof static struct
|-
switch template this throw
| char || char16_t (since C++11) || char32_t (since C++11)
try typedef union unsigned
|-
virtual void volatile while
| class || compl || const
</source>
|-
| constexpr (since C++11) || const_cast || continue
|-
| decltype (since C++11) || default || delete
|-
| do || double || dynamic_cast
|-
| else || enum || explicit
|-
| export || extern || false
|-
| float || for || friend
|-
| goto || if || inline
|-
| int || long || mutable
|-
| namespace || new || noexcept (since C++11)
|-
| not || not_eq || nullptr (since C++11)
|-
| operator || or || or_eq
|-
| private || protected || public
|-
| register || reinterpret_cast || return
|-
| short || signed || sizeof
|-
| static || static_assert (since C++11) || static_cast
|-
| struct || switch || template
|-
| this || thread_local (since C++11) || throw
|-
|| true || try || typedef
|-
| typeid || typename || union
|-
| unsigned || using || virtual
|-
virtual| void || volatile while|| wchar_t
|-
| while || xor || xor_eq
|-
|}
 
* Maiores detalhes podem ser encontrados em: http://en.cppreference.com/w/cpp/keyword
 
{{AutoCat}}