Furrent
Classes | Typedefs
fur::util Namespace Reference

Classes

struct  Empty
 
class  Result
 Used to handle errors without using exceptions. More...
 
class  Singleton
 

Typedefs

template<typename E >
using Outcome = Result< Empty, E >
 The same as Result except there's no useful value to wrap. This is wo work around the fact that Result<void, ...> is invalid. More...
 

Typedef Documentation

◆ Outcome

template<typename E >
using fur::util::Outcome = typedef Result<Empty, E>

The same as Result except there's no useful value to wrap. This is wo work around the fact that Result<void, ...> is invalid.

Template Parameters
Etype of the error