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

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::tools
 General purpose tooling.
 
 scl::tools::make
 Group of factory functions.
 

Functions

template<class T , class E = scl::utils::Placeholder>
scl::utils::Result< T, E > scl::tools::make::ok (const T &value)
 
template<class T , class E >
scl::utils::Result< T, E > scl::tools::make::err (const E &error)