11 template <
typename T,
typename R = T*,
typename RSquare = T&>
class tarrayable {
18 virtual RSquare operator[](nidx
n) = 0;
20 const RSquare operator[](nidx
n)
const BY_CONST_FUNC(
operator[](
n))
23 virtual nbool in(nidx
n)
const = 0;
26 virtual R get(nidx
n) = 0;
27 const R get(nidx
n)
const BY_CONST_FUNC(get(
n))
30 virtual nbool set(nidx
n,
const T& new1) = 0;
Definition tarrayable.hpp:11
virtual nbool del(nidx n)=0
virtual nbool add(nidx n, const T &new1)=0
Weak reference smart pointer with type-safe access.
Definition tweak.hpp:16
#define BY_SIDE_FUNC(...)
Side function macros for safe pointer operations.
Definition sideFunc.hpp:24