GCC vector type. More...
#include <type.h>
Public Member Functions | |
SHARED_DEFINE_MAKE_METHOD (vector_type,(type *elem_type, int num_elems),(elem_type, num_elems)) virtual bool operator | |
virtual int | get_num_elems () |
virtual type * | get_elem_type () |
virtual string | to_string () const |
virtual bool | is_vector_type () const |
virtual int | get_size () |
virtual int | get_asize () |
Protected Attributes | |
type * | elem_type |
int | num_elems |
Friends | |
class | boost::serialization::access |
GCC vector type.
This is *not* a vararray, but num_elems items of type elem_type in parallel with +-* etc performed through parallel assembly instructions (if available). Should only see this in high-performance numerical computing, graphics applications etc.