38class ReferenceCountedVector :
public NodeReferenceCount,
public pvector<Element> {
40 typedef typename pvector<Element>::iterator iterator;
41 typedef typename pvector<Element>::size_type size_type;
43 INLINE ReferenceCountedVector(
TypeHandle type_handle);
44 INLINE ReferenceCountedVector(size_type initial_size,
TypeHandle type_handle);
45 INLINE ReferenceCountedVector(
const Element *begin,
const Element *end,
TypeHandle type_handle);
46 INLINE ReferenceCountedVector(pvector<Element> &&from);
47 ALLOC_DELETED_CHAIN(ReferenceCountedVector<Element>);
49 INLINE size_type size()
const;
51 INLINE iterator insert(iterator position,
const Element &x);
52 INLINE
void insert(iterator position, size_type n,
const Element &x);
54 INLINE
void erase(iterator position);
55 INLINE
void erase(iterator first, iterator last);
57 INLINE
void pop_back();
69class PointerToArrayBase :
public PointerToBase<ReferenceCountedVector<Element> > {
71 typedef typename PointerToBase<ReferenceCountedVector<Element> >::To To;
75 INLINE PointerToArrayBase(
const PointerToArrayBase<Element> ©);
76 INLINE PointerToArrayBase(PointerToArrayBase<Element> &&from)
noexcept;
79 INLINE ~PointerToArrayBase();
83 INLINE
bool operator == (
const PointerToArrayBase<Element> &other)
const;
84 INLINE
bool operator != (
const PointerToArrayBase<Element> &other)
const;