Template Function rsl::mtry
Defined in File monad.hpp
Function Documentation
Warning
doxygenfunction: Unable to resolve function “rsl::mtry” with arguments “(Fn)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 85] template<typename Fn> tl::expected< std::invoke_result_t< Fn >, std::exception_ptr > try mtry (Fn fn) ————————————————————————————-^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected identifier in nested name, got keyword: try [error at 88] template<typename Fn> tl::expected< std::invoke_result_t< Fn >, std::exception_ptr > try mtry (Fn fn) —————————————————————————————-^ If declarator-id: Invalid C++ declaration: Expected identifier in nested name, got keyword: try [error at 88] template<typename Fn> tl::expected< std::invoke_result_t< Fn >, std::exception_ptr > try mtry (Fn fn) —————————————————————————————-^