2 #include <score/tools/std/IndirectContainer.hpp>
8 template <
class,
class>
class Container,
typename T,
9 typename U = std::allocator<std::unique_ptr<T>>>
13 using ctnr_t = Container<std::unique_ptr<T>, U>;
15 using ctnr_t::emplace_back;
17 auto begin() {
return score::make_indirect_iterator(ctnr_t::begin()); }
18 auto end() {
return score::make_indirect_iterator(ctnr_t::end()); }
19 auto begin()
const {
return score::make_indirect_iterator(ctnr_t::begin()); }
20 auto end()
const {
return score::make_indirect_iterator(ctnr_t::end()); }
21 auto cbegin()
const {
return score::make_indirect_iterator(ctnr_t::cbegin()); }
22 auto cend()
const {
return score::make_indirect_iterator(ctnr_t::cend()); }
Definition: OwningVector.hpp:11