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

Function make_from_tuple

dlib/functional.h:299–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298 template <class T, class Tuple>
299 constexpr T make_from_tuple( Tuple&& t )
300 /*!
301 ensures
302 - identical to std::make_from_tuple<T>(std::forward<Tuple>(t))
303 - works with C++11 onwards
304 !*/
305 {
306 return detail::make_from_tuple_impl<T>(std::forward<Tuple>(t),
307 make_index_sequence<std::tuple_size<typename std::remove_reference<Tuple>::type >::value>{});
308 }
309
310// ----------------------------------------------------------------------------------------
311

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected