Back to Arangodb

Boost Exception

3rdParty/boost/1.78.0/libs/exception/doc/current_exception_cast.html

3.12.9.11.0 KB
Original Source

Boost Exception

current_exception_cast

#include <boost/exception/current_exception_cast.hpp>

namespace
boost
    { template \<class E\> E \* current\_exception\_cast();}

Requirements:

This function must not be called outside of a catch block.

Returns:

A pointer of type E to the current exception object, or null if the current exception object can not be converted to E *.

Throws:

Nothing.


See also: Boost Exception | boost/exception/current_exception_cast.hpp

Copyright (c) 2006-2009 by Emil Dotchevski and Reverge Studios, Inc.
Distributed under the Boost Software License, Version 1.0.