Go to the documentation of this file.
21 #ifndef __ListPtr_hpp__
22 #define __ListPtr_hpp__
49 template<
typename... Args>
73 const T*
ptr(
size_t i)
const;
79 auto pos(
size_t i)
const;
113 list_(std::move(src))
123 list_.operator=(std::move(rhs));
129 auto ptr = makeUnique<ListPtrType>(*
this);
130 return ptr.release();
135 return makeUnique<ListPtrType>(*
this);
154 template<
typename... Args>
164 template<
typename... Args>
188 void clear(
size_t i);
192 return list_.begin();
197 return list_.begin();
typename listType::const_iterator const_iterator
const_iterator end() const
bool copy(const ListPtrType &src)
void push_backSafe(Args &&... args)
ListPtr(ListPtrType &&src)
TypeInfoTemplateNV11("ListPtr", T)
uniquePtr< T > setSafe(size_t i, Args &&... args)
uniquePtr< ListPtrType > clone() const
const_iterator begin() const
ListPtrType * clonePtr() const
ListPtrType & operator=(ListPtrType &&rhs)
ListPtrType & operator=(const ListPtrType &rhs)
uniquePtr< T > release(size_t i)
std::list< boundaryIntegration * > listType
static uniquePtr< T > makeSafe(Args &&... args)
typename listType::iterator iterator
uniquePtr< T > set(size_t i, T *ptr)