isCopyConstructable

Checks to see if a type is copy constructable - postblit doesn't count.

Returns false if there's a user defined postblit.

Members

Aliases

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

Manifest constants

isCopyConstructable
enum isCopyConstructable;
Undocumented in source.

Examples

mixin copyConstructableKinds;

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

Meta