MCPcopy Create free account
hub / github.com/davisking/dlib / make_optional

Function make_optional

dlib/optional.h:1003–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001
1002 template< class T >
1003 constexpr dlib::optional<std::decay_t<T>> make_optional( T&& value )
1004 {
1005 return dlib::optional<std::decay_t<T>>(std::forward<T>(value));
1006 }
1007
1008 template< class T, class... Args >
1009 constexpr dlib::optional<T> make_optional( Args&&... args )

Callers 1

test_make_optionalFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_make_optionalFunction · 0.68