GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::make_exception_ptr(3) C++ Standard Libary std::make_exception_ptr(3)

std::make_exception_ptr - std::make_exception_ptr


Defined in header <exception>
template< class E > (since C++11)
std::exception_ptr make_exception_ptr( E e ) noexcept;


Creates an std::exception_ptr that holds a reference to a copy of e. This is done as
if executing the following code:


try {
throw e;
} catch(...) {
return std::current_exception();
}


(none)


An instance of std::exception_ptr holding a reference to the copy of e, or to an
instance of std::bad_alloc or to an instance of std::bad_exception (see
std::current_exception).


The parameter is passed by value and is subject to slicing.


current_exception captures the current exception in a std::exception_ptr
(C++11) (function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.