10 template <
typename T,
typename R = T*,
typename RSquare = T&>
class tarrayable {
17 virtual RSquare operator[](nidx n) = 0;
19 const RSquare operator[](nidx n)
const BY_CONST_FUNC(
operator[](n))
22 virtual nbool in(nidx n)
const = 0;
25 virtual R get(nidx n) = 0;
26 const R get(nidx n)
const BY_CONST_FUNC(get(n))
29 virtual nbool set(nidx n,
const T& new1) = 0;
30 nbool set(nidx n,
const T* new1) BY_SIDE_FUNC(new1, set(n, *new1),
false);
34 virtual nbool
add(nidx n,
const T& new1) = 0;
35 nbool
add(nidx n,
const T* new1) BY_SIDE_FUNC(new1,
add(n, *new1),
false);
40 virtual nbool
del(nidx n) = 0;
Definition: tarrayable.hpp:10
virtual nbool del(nidx n)=0
virtual nbool add(nidx n, const T &new1)=0