|
ivl 679
|
1-dimensional array of type T More...
#include <array.hpp>
Inherits ivl::array_common_base< C >, and ivl::data::referer< X >.
Public Types | |
| typedef size_t | size_type |
| parameter of resize, in each class of the hierarchy | |
Public Member Functions | |
| ~array () | |
| destructor | |
Size functions | |
| size_t | length () const |
| Get the length of the element sequence. | |
| size_type | size () const |
| Get the size of the array. generic-class function. | |
| size_t | numel () const |
| Get the length of the element sequence. | |
Constructors | |
| array (A &a, const ivl::slice &b) | |
| The only constructor. | |
| array (const this_type &o) | |
| Copy constructor. | |
Special Members | |
| template<class J , class P > | |
| derived_type & | assign_array (const array< J, data::empty< P > > &o) |
| template<class D > | |
| derived_type & | assign_array (const D &o) |
| template<class D > | |
| bool | overlap (const D &d) const |
| template<class D > | |
| bool | self_overlap (const D &d) const |
Assignement Operators | |
| this_type & | operator= (const this_type &o) |
Public Attributes | |
|
types::t_and_3< types::t_not < types::is_const< A > >, typename A::is_writeable, typename A::is_resizeable > ::type | is_cuttable |
| declared as t_true if the array = empty operation (cut) is allowed. | |
1-dimensional array of type T
This class defines an simple one-dimensional array.