Google Cloud C++ Client  2.7.0
C++ Client Library for Google Cloud Platform
Namespaces | Typedefs | Functions
terminate_handler.h File Reference
#include "google/cloud/version.h"
#include <functional>

Go to the source code of this file.

Namespaces

 google
 
 google::cloud
 Contains all the Google Cloud C++ Library APIs.
 

Typedefs

using google::cloud::TerminateHandler = std::function< void(char const *msg)>
 Terminate handler. More...
 

Functions

TerminateHandler google::cloud::SetTerminateHandler (TerminateHandler f)
 Install terminate handler and get the old one atomically. More...
 
TerminateHandler google::cloud::GetTerminateHandler ()
 Get the currently installed handler. More...
 
void google::cloud::Terminate (char const *msg)
 Invoke the currently installed handler. More...