The Fragment concept.
More...
#include <psyqo/fragment-concept.hh>
template<typename Frag>
{ (alignof(Frag) & 3) == 0 };
{ (sizeof(Frag) & 3) == 0 };
{ (sizeof(frag.head)) == 4 };
{ ((offsetof(Frag, head)) & 3) == 0 };
{ frag.getActualFragmentSize() } -> std::convertible_to<size_t>;
}
The Fragment concept.
Definition fragment-concept.hh:51
The Fragment concept.
This concept can be used as a template type constraint to ensure that a type is a valid fragment.