![]() |
BRICKS
Small, useful blocks of code, to build bigger things.
|
#include <cassert>
#include <functional>
#include <initializer_list>
#include <stdexcept>
#include <type_traits>
#include <variant>
#include "type_traits.hpp"
Go to the source code of this file.
Classes | |
class | bricks::bad_result_access |
This is the type of the error thrown when accessing a bad result. More... | |
class | bricks::result< T, E > |
A class to represent the result of an operation. More... | |
struct | std::hash< bricks::result< T, E > > |
Template specialization of std::hash for result<T, E> . More... | |
Namespaces | |
namespace | bricks |
Typedefs | |
template<typename T > | |
using | bricks::ok = detail::value_container<T, detail::ok_tag> |
template<typename E > | |
using | bricks::err = detail::value_container<E, detail::err_tag> |