Concept
Simple Type
Object that does not need constructors, destructors or copy assignment operators.
All POD ("plain old data") types are simple types, but some simple types are not POD types, e.g. the subclasses of SimpleType. A simple type can have constructors, destructors or copy assignment operators, but it can be proper default constructed without using a default constructor, destructed without calling the destructor and copied without calling a copy constructor or a copy assignment operator. Hence, simple types can be handled by fast memory manipulation functions. This greatly speeds up functions like arrayCopy.
Remarks
If you want specify a custom type MyClass to be simple, then just specialize the IsSimple metafunction:
template <>
struct IsSimple<MyClass>
{
typedef True Type;
};
Implemented by

SimpleType | Implementation for "simple" types.

See Also
SimpleType, IsSimple
SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2012/03/14 16:34:45