[#mp_units-get-02] = xref:mp_units.adoc[mp_units]::get :relfileprefix: ../ :mrdocs: Returns a default‐constructed instance of `T1`, given it is a specialization of the class template `T` == Synopsis Declared in `<mp‐units/ext/type_traits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< template<typename...> typename T, typename T1> requires is_specialization_of<T1, T> [[nodiscard]] consteval auto get(); ---- == Return Value A default‐constructed instance of `T1` [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Template Parameters [cols="1,4"] |=== | Name| Description | *T* | The class template (taking type parameters) that `T1` must specialize | *T1* | The type to return, required to be a specialization of `T` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#