mdds
Loading...
Searching...
No Matches
mdds::detail::is_complete Concept Reference

#include <global.hpp>

Concept definition

template<typename T>
concept is_complete = requires { sizeof(T); }
Definition global.hpp:169

Detailed Description

Concept satisfied when the type T is complete i.e. it has been fully defined, as opposed to merely forward-declared.

Note
The result is cached the first time the concept is checked for a given type; do not use it on a type that later becomes complete in the same translation unit.