mirror of
https://github.com/boostorg/leaf.git
synced 2026-02-21 15:12:26 +00:00
34 lines
597 B
Plaintext
34 lines
597 B
Plaintext
.#include <boost/leaf/error.hpp>
|
|
[source,c++]
|
|
----
|
|
namespace boost { namespace leaf {
|
|
|
|
class error;
|
|
|
|
template <class... E>
|
|
error new_error( E && ... e ) noexcept;
|
|
|
|
error next_error() noexcept;
|
|
|
|
error last_error() noexcept;
|
|
|
|
class error: public std::error_code
|
|
{
|
|
public:
|
|
|
|
template <class... E>
|
|
error_id propagate( E && ... e ) const noexcept;
|
|
};
|
|
|
|
template <class T>
|
|
struct is_error_type
|
|
{
|
|
static constexpr bool value = <<unspecified>>;
|
|
};
|
|
|
|
} }
|
|
----
|
|
|
|
[.text-right]
|
|
<<error>> | <<new_error>> | <<next_error>> | <<last_error>> | <<propagate>> | <<is_error_type>>
|