Template Struct success< void >
Defined in File expected.hpp
Struct Documentation
-
template<>
struct success<void> helper struct to create an error only expected which is signalling success more easily
cxx::expected<float> callMe() { //... return cxx::success<>(); }