Support Class Library
A set of tools providing classes and utility
Classes | Namespaces | Functions
Result.h File Reference
#include <scl/utils/Either.h>
#include <scl/utils/Placeholder.h>
#include <scl/exceptions/InvalidResultAccess.h>
#include <functional>

Go to the source code of this file.

Classes

struct  scl::utils::details::result_value
 // More...
 
struct  scl::utils::details::result_error
 
class  scl::utils::Result< Value, Error >
 

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::utils
 Utility classes (and rare functions)
 
 scl::utils::details
 Implementation details for the utility classes.
 

Functions

template<class T >
Result< T, std::exception_ptr > scl::utils::wrapInResult (std::function< T()> f)