SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
can::Array< T, N > Class Template Reference

compile-time (static) array of size N More...

Inheritance diagram for can::Array< T, N >:
mth::Vector< T, N > mth::Vector< T, 3 > mth::Vector3< T >

Public Member Functions

 Array ()
 default constructor - necessary
 
 Array (Array< T, N > const &other)
 copy constructor
 
 ~Array ()
 elems is destroyed automatically
 
Array< T, N > & operator= (Array< T, N > const &other)
 assignment operator
 
T & operator[] (unsigned i)
 mutable index operator
 
T const & operator[] (unsigned i) const
 immutable index operator
 
unsigned size () const
 get the size of this array
 

Detailed Description

template<class T, unsigned N = 0>
class can::Array< T, N >

compile-time (static) array of size N

Definition at line 23 of file canArray.h.


The documentation for this class was generated from the following file: