Espaços nominais
Variantes
Acções

std::terminate

Da cppreference.com
< cpp‎ | error

 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
(C++11)
Os operadores relacionais
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares e tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Troque, avançar e avançar
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
 
De tratamento de erros
Manipulação de exceção
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação de falhas de exceção
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
terminate
(obsoleta)
(C++11)(obsoleta)
(obsoleta)
Categorias de exceção
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Códigos de erro
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Códigos de erro
Afirmações
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
instalação system_error
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
 
Definido no cabeçalho <exception>
[[noreturn]] void terminate();
std::terminate() é chamado pelo tempo de execução C + + manipulação de exceção quando falhar por qualquer das seguintes razões:
Original:
std::terminate() is called by the C++ runtime when exception handling fails for any of the following reasons:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
uma exceção é lançada e não pegou (que é definida pela implementação se qualquer pilha desenrolar é feito, neste caso)
Original:
an exception is thrown and not caught (it is implementation-defined whether any stack unwinding is done in this case)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
uma exceção é lançada durante o tratamento de exceções (por exemplo, a partir de um processo de destruição de um objeto local, ou a partir de uma função que tinha de ser chamado durante o tratamento de exceção)
Original:
an exception is thrown during exception handling (e.g. from a destructor of some local object, or from a function that had to be called during exception handling)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
o construtor ou o destruidor de um objeto estático ou segmento local gera uma exceção
Original:
the constructor or the destructor of a static or thread-local object throws an exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
uma função registrada std::atexit ou std::at_quick_exit lança uma exceção
Original:
a function registered with std::atexit or std::at_quick_exit throws an exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
5)
um noexcept especificação é violada (que é definida pela implementação se qualquer pilha desenrolar é feito, neste caso)
Original:
a noexcept especificação is violated (it is implementation-defined whether any stack unwinding is done in this case)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
6)
um especificação excepção dinâmico é violada eo manipulador padrão para std::unexpected é executado
Original:
a especificação excepção dinâmico is violated and the default handler for std::unexpected is executed
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
7)
um manipulador de não-padrão para std::unexpected lança uma exceção que viola a especificação de exceção previamente violado dinâmico, se a especificação não inclui std::bad_exception
Original:
a non-default handler for std::unexpected throws an exception that violates the previously violated dynamic exception specification, if the specification does not include std::bad_exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
8)
std::nested_exception::rethrow_nested é chamado para um objeto que não está segurando uma exceção capturado
Original:
std::nested_exception::rethrow_nested is called for an object that isn't holding a captured exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
9)
uma exceção é lançada a partir da função inicial de std::thread
Original:
an exception is thrown from the initial function of std::thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
10)
um std::thread acopláveis ​​é destruída ou atribuído
Original:
a joinable std::thread is destroyed or assigned to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::terminate() também pode ser chamado diretamente do programa.
Original:
std::terminate() may also be called directly from the program.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


Em qualquer caso, a chama std::terminate std::terminate_handler actualmente instalado. O padrão std::terminate_handler chamadas std::abort.
Original:
In any case, std::terminate calls the currently installed std::terminate_handler. The default std::terminate_handler calls std::abort.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


Índice

[editar] Parâmetros

(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Exceções

noexcept specification:  
noexcept
  (desde C++11)

[editar] Veja também

o tipo da função de chamada por std::terminate
Original:
the type of the function called by std::terminate
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef) [edit]