Namespaces
Variants

std:: get_terminate

From cppreference.net
헤더 파일에 정의됨 <exception>
std:: terminate_handler get_terminate ( ) noexcept ;
(C++11부터)

현재 설치된 std::terminate_handler 를 반환합니다. 이는 null 포인터일 수 있습니다.

이 함수는 스레드 안전합니다. 이전에 호출된 std::set_terminate 는 이 함수와 synchronizes-with 관계를 가집니다( std::memory_order 참조).

목차

매개변수

(없음)

반환값

현재 설치된 std::terminate_handler .

예제

참고 항목

std::terminate 에 의해 호출되는 함수의 타입
(typedef)
std::terminate 에 의해 호출될 함수를 변경
(function)