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

Method optional_storage

dlib/optional.h:136–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 struct optional_storage
135 {
136 constexpr optional_storage() noexcept
137 : e{}, active{false}
138 {}
139
140 template<class ...U>
141 constexpr optional_storage(in_place_t, U&& ...u) noexcept(std::is_nothrow_constructible<T,U...>::value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected