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
initializer_list(C++11)
bitset
hash(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.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(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.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(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.
exception
uncaught_exception
exception_ptr(C++11)
make_exception_ptr(C++11)
current_exception(C++11)
rethrow_exception(C++11)
nested_exception(C++11)
throw_with_nested(C++11)
rethrow_if_nested(C++11)
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
terminate_handler
get_terminate(C++11)
set_terminate
unexpected(obsoleta)
bad_exception
unexpected_handler(obsoleta)
get_unexpected(C++11)(obsoleta)
set_unexpected(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.
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
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
errno
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.
assert
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.
error_category(C++11)
generic_category(C++11)
system_category(C++11)
error_condition(C++11)
errc(C++11)
error_code(C++11)
system_error(C++11)
 
Defined in header <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
  (a partir do 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]