29 template <
typename Ptr>
30 ref_vector(Ptr* ptr) : _ptr(T(ptr)), _mem(_mem_t(&_ptr)), _size(1)
40 template <
typename Vector>
42 : _ptr(T()), _mem(_mem_t(&vec.front())), _size(vec.size())
53 ref_vector(
const T* mem,
size_t len) : _ptr(T()), _mem(_mem_t(mem)), _size(len)
ref_vector(Ptr *ptr)
Definition: ref_vector.hpp:30
size_t size(void) const
The number of elements in this container.
Definition: ref_vector.hpp:65
ref_vector(const T *mem, size_t len)
Definition: ref_vector.hpp:53
Definition: build_info.hpp:12
Definition: ref_vector.hpp:21
ref_vector(const Vector &vec)
Definition: ref_vector.hpp:41
#define UHD_API
Definition: config.h:87
const T & operator[](size_t index) const
Index operator gets the value of rv[index].
Definition: ref_vector.hpp:59