MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::ResultLikeWithValue Concept Reference

Represents a type that fulfills the "result" contract while having a success value of a specific type Does NOT check the error value (the error can be of any type) More...

#include <traits.hpp>

Concept definition

template<typename T, typename V>
((impl::ResultVoid<T> && std::same_as<V, void>) || (impl::ResultValue<T> && std::same_as<typename T::Value, V>) ) &&
Represents a type that fulfills the "result" contract while having a success value of a specific type...
Represents a type that fulfills the "result" contract.

Detailed Description

Represents a type that fulfills the "result" contract while having a success value of a specific type Does NOT check the error value (the error can be of any type)

Definition at line 170 of file core/mtcore/traits.hpp.