Espaços nominais
Variantes
Acções

C++ keywords

Da cppreference.com
< cpp


 
 
Linguagem C + +
Tópicos gerais
Original:
General topics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Preprocessor
Comentários
Palavras-chave
Controle de fluxo
Original:
Flow control
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Declarações execução condicional
Original:
Conditional execution statements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Instruções de iteração
Original:
Iteration statements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Ir declarações
Original:
Jump statements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
declaração da função
lambda declaração da função
modelo de função
linha especificador
especificações de exceção (obsoleta)
noexcept especificador (C++11)
Exceções
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Namespaces
Original:
Namespaces
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
decltype specifier (C++11)
Especificadores
Original:
Specifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
cv especificadores
armazenamento duração especificadores
constexpr especificador (C++11)
auto especificador (C++11)
alignas especificador (C++11)
Inicialização
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Literais
Original:
Literals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Expressões
Original:
Expressions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
representações alternativas
Utilitários
Original:
Utilities
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
typedef declaration
tipo de alias declaração (C++11)
atributos (C++11)
Conversões
Original:
Casts
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
conversões implícitas
const_cast conversion
static_cast conversion
dynamic_cast conversion
reinterpret_cast conversion
Elenco C-estilo e funcional
Alocação de memória
Original:
Memory allocation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Classe propriedades específicas de função
Original:
Class-specific function properties
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funções membro especiais
Original:
Special member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Modelos
Original:
Templates
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
modelo de classe
modelo de função
especialização de modelo
pacotes de parâmetros (C++11)
Diversos
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Assembly embutido
 
 
Esta é uma lista de palavras-chave reservadas em C + +. Uma vez que eles são usados ​​pela linguagem, essas palavras não estão disponíveis para redefinição ou sobrecarga.
Original:
This is a list of reserved keywords in C++. Since they are used by the language, these keywords are not available for re-definition or overloading.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

alignas (a partir do C++ 11)
alignof (a partir do C++ 11)
and
and_eq
asm
auto(1)
bitand
bitor
bool
break
case
catch
char
char16_t(a partir do C++ 11)
char32_t(a partir do C++ 11)
class
compl
const
constexpr(a partir do C++ 11)
const_cast
continue
decltype(a partir do C++ 11)
default(1)
delete(1)
do
double
dynamic_cast
else

enum
explicit
export
extern
false
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
noexcept(a partir do C++ 11)
not
not_eq
nullptr (a partir do C++ 11)
operator
or
or_eq
private
protected
public
register
reinterpret_cast

return
short
signed
sizeof
static
static_assert(a partir do C++ 11)
static_cast
struct
switch
template
this
thread_local(a partir do C++ 11)
throw
true
try
typedef
typeid
typename
union
unsigned
using(1)
virtual
void
volatile
wchar_t
while
xor
xor_eq

  • (1) - significado mudou em C + 11
    Original:
    (1) - meaning changed in C++11
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
Além de palavras-chave, existem dois identificadores' com um significado especial, que pode ser usado como nomes de objetos ou funções, mas têm um significado especial em certos contextos.
Original:
In addition to keywords, there are two identifiers with special meaning, which may be used as names of objects or functions, but have special meaning in certain contexts.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
override(C++11)

final(C++11)

Além disso, cada nome que contenha um duplo sublinhado __ ou começa com um sublinhado seguido por uma letra maiúscula é sempre reservada para a implementação e não deve ser usado como um identificador. Cada nome que começa com um sublinhado é reservado para a implementação para uso como um nome no espaço global; tais nomes podem ser usadas como identificadores em espaços definidos pelo usuário, como nomes de membros da classe, etc
Original:
Also, each name that contains a double underscore __ or begins with an underscore followed by an uppercase letter is always reserved to the implementation and should not be used as an identifier. Each name that begins with an underscore is reserved to the implementation for use as a name in the global namespace; such names may be used as identifiers in user-defined namespaces, as names of class members, etc.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Note-se que and, bitor, or, xor, compl, bitand, and_eq, or_eq, xor_eq, not e not_eq (juntamente com os dígrafos <%, %>, <:, :>, %: e %:%:) fornecer uma forma alternativa de representar símbolos normalizados.
Original:
Note that and, bitor, or, xor, compl, bitand, and_eq, or_eq, xor_eq, not, and not_eq (along with the digraphs <%, %>, <:, :>, %:, and %:%:) provide an forma alternativa de representar símbolos normalizados.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.