PLearn 0.1
|
Define "missing-value" for a number of types with TinyVector. More...
#include <TinyVector.h>
Define "missing-value" for a number of types with TinyVector.
The class TinyVectorTrait is specialized for each class T of interest. It defines a static constant named "Missing", which is the missing value for the type. These missing values are used, in turn, to determine what is and is not an element of a TinyVector.
In addition, it defines a type "IOType" which is the type of value that we should convert to/from when performing PStream I/O. This is mostly useful for ensuring that the character types don't get serialized and deserialized as characters, but integers.
Definition at line 234 of file TinyVector.h.