MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / make_optional

Function make_optional

extlibs/sol3/include/sol/sol.hpp:5012–5014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5010
5011 template <class T = detail::i_am_secret, class U, class Ret = detail::conditional_t<std::is_same<T, detail::i_am_secret>::value, detail::decay_t<U>, T>>
5012 inline constexpr optional<Ret> make_optional(U&& v) {
5013 return optional<Ret>(std::forward<U>(v));
5014 }
5015
5016 template <class T, class... Args>
5017 inline constexpr optional<T> make_optional(Args&&... args) {

Callers 2

optional_map_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected