Template Function tl::detail::optional_map_impl(Opt&&, F&&)
Defined in File tl-optional.hpp
Function Documentation
Warning
doxygenfunction: Unable to resolve function “tl::detail::optional_map_impl” with arguments “(Opt&&, F&&)”. Candidate function could not be parsed. Parsing error is Error in declarator If declarator-id with parameters-and-qualifiers: Invalid C++ declaration: Expected identifier in nested name. [error at 35] (detail::invoke(std::declval<F>(), *std::declval<Opt>())), detail::enable_if_t<!std::is_void<Ret>::value>* = nullptr> constexpr auto optional_map_impl(Opt &&opt, F &&f) -> optional<Ret> ———————————–^ If parenthesis in noptr-declarator: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 31] (detail::invoke(std::declval<F>(), *std::declval<Opt>())), detail::enable_if_t<!std::is_void<Ret>::value>* = nullptr> constexpr auto optional_map_impl(Opt &&opt, F &&f) -> optional<Ret> ——————————-^ If declarator-id: Invalid C++ declaration: Unexpected ‘:’ after identifier. [error at 19] (detail::invoke(std::declval<F>(), *std::declval<Opt>())), detail::enable_if_t<!std::is_void<Ret>::value>* = nullptr> constexpr auto optional_map_impl(Opt &&opt, F &&f) -> optional<Ret> ——————-^