.. _complete_type: ******************* meta::complete_type ******************* Defined in header ````. .. code-block:: cpp template concept complete_type = requires { sizeof(T); }; The **CompleteType** concept is satisfied when **T** is a complete type. .. note:: This concept is not part of C++20. ---- Concept emulation ================= .. code-block:: cpp namespace mgs { namespace meta { template struct is_complete_type { /* ... */ }; template constexpr auto is_complete_type_v = is_complete_type::value; template >> using complete_type = T; } // namespace meta } // namespace mgs Example ======= .. code-block:: cpp #include using namespace mgs::meta; static_assert(is_complete_type_v, ""); static_assert(!is_complete_type_v, "");