MeshLib
 
Loading...
Searching...
No Matches
MRExpected.h File Reference
#include "MRMeshFwd.h"
#include "MRPch/MRBindingMacros.h"
#include <version>
#include <tl/expected.hpp>
#include <string>

Go to the source code of this file.

Namespaces

namespace  MR
 

Macros

#define MR_USE_STD_EXPECTED   0
 

Typedefs

template<class T , class E = std::string>
using MR::Expected = tl::expected<T, E>
 

Functions

template<class E >
MR_BIND_IGNORE auto MR::unexpected (E &&e)
 
MR_BIND_IGNORE std::string MR::stringOperationCanceled ()
 Common operation canceled line for all.
 
MR_BIND_IGNORE auto MR::unexpectedOperationCanceled ()
 Returns Expected error with stringOperationCanceled()
 

Macro Definition Documentation

◆ MR_USE_STD_EXPECTED

#define MR_USE_STD_EXPECTED   0