isNonTriviallyCopyConstructable

Checks to see if a type is non-trivially copy constructable

This does not check for postblits

Members

Aliases

U
alias U = from.bolts.traits.symbols.TypesOf!T[0]
Undocumented in source.

Manifest constants

isNonTriviallyCopyConstructable
enum isNonTriviallyCopyConstructable;
Undocumented in source.

Examples

mixin copyConstructableKinds;

static assert(!isNonTriviallyCopyConstructable!KindPOD);
static assert( isNonTriviallyCopyConstructable!KindHasCopyContrustor);
static assert(!isNonTriviallyCopyConstructable!KindHasPostBlit);
static assert(!isNonTriviallyCopyConstructable!KindContainsPOD);
static assert( isNonTriviallyCopyConstructable!KindContainsTypeWithNonTrivialCopyConstructor);
static assert(!isNonTriviallyCopyConstructable!KindContainsTypeWithPostBlit);

Meta