Home
last modified time | relevance | path

Searched refs:static_vector (Results 1 – 25 of 26) sorted by relevance

12

/third_party/boost/boost/container/
Dstatic_vector.hpp150 class static_vector class
158 BOOST_COPYABLE_AND_MOVABLE(static_vector)
161 friend class static_vector;
200 BOOST_CONTAINER_FORCEINLINE static_vector() BOOST_NOEXCEPT_OR_NOTHROW in static_vector() function in boost::container::static_vector
215 BOOST_CONTAINER_FORCEINLINE explicit static_vector(size_type count) in static_vector() function in boost::container::static_vector
233 BOOST_CONTAINER_FORCEINLINE static_vector(size_type count, default_init_t) in static_vector() function in boost::container::static_vector
249 BOOST_CONTAINER_FORCEINLINE static_vector(size_type count, value_type const& value) in static_vector() function in boost::container::static_vector
268 BOOST_CONTAINER_FORCEINLINE static_vector(Iterator first, Iterator last) in static_vector() function in boost::container::static_vector
285 BOOST_CONTAINER_FORCEINLINE static_vector(std::initializer_list<value_type> il) in static_vector() function in boost::container::static_vector
299 BOOST_CONTAINER_FORCEINLINE static_vector(static_vector const& other) in static_vector() function in boost::container::static_vector
[all …]
Dcontainer_fwd.hpp112 class static_vector;
/third_party/boost/libs/stl_interfaces/example/
Dstatic_vector.hpp40 struct static_vector : sequence_container_interface< struct
41 static_vector<T, N>,
66 static_vector() noexcept : size_(0) {} in static_vector() argument
67 explicit static_vector(size_type n) : size_(0) { resize(n); } in static_vector() argument
68 explicit static_vector(size_type n, T const & x) : size_(0) in static_vector() function
79 static_vector(InputIterator first, InputIterator last) : size_(0) in static_vector() function
83 static_vector(std::initializer_list<T> il) : in static_vector() function
84 static_vector(il.begin(), il.end()) in static_vector()
86 static_vector(static_vector const & other) : size_(0) in static_vector() function
90 static_vector(static_vector && other) noexcept( in static_vector() function
[all …]
Dstatic_vector.cpp12 static_vector<int, 128> vec; in main()
20 static_vector<int, 128> tmp({42}); in main()
21 assert(vec == (static_vector<int, 128>({42}))); in main()
DCMakeLists.txt35 add_sample(static_vector)
/third_party/boost/libs/container/test/
Dstatic_vector_test.cpp26 static_vector<T, N> s; in test_ctor_ndc()
27 BOOST_STATIC_ASSERT((static_vector<T, N>::static_capacity) == N); in test_ctor_ndc()
37 static_vector<T, N> s(n); in test_ctor_nc()
38 BOOST_STATIC_ASSERT((static_vector<T, N>::static_capacity) == N); in test_ctor_nc()
59 static_vector<T, N> s(n, v); in test_ctor_nd()
60 BOOST_STATIC_ASSERT((static_vector<T, N>::static_capacity) == N); in test_ctor_nd()
83 static_vector<int, 2> sv = {10, 8}; in test_support_for_initializer_list()
87 typedef static_vector<int, 1> sv_cap_1; in test_support_for_initializer_list()
92 static_vector<int, 2> sv; in test_support_for_initializer_list()
99 static_vector<int, 3> greaterThanSv = {1, 2, 3}; in test_support_for_initializer_list()
[all …]
Dexplicit_inst_static_vector_test.cpp19 template class ::boost::container::static_vector<empty, 2>;
20 volatile ::boost::container::static_vector<empty, 2> dummy;
26 template class boost::container::static_vector<int, 10>; member in boost::container::boost::container
Dstatic_vector_options_test.cpp46 static_vector<int, Capacity, options_t> v; in test_alignment()
57 static_vector<int, Capacity, options_t> v; in test_alignment()
75 static_vector<int, Capacity, options_t> v; in test_throw_on_overflow()
100 static_vector<int, Capacity, options_t> v; in test_throw_on_overflow()
Dpmr_static_vector_test.cpp19 template class ::boost::container::static_vector<empty, 2>;
23 ::boost::container::static_vector<empty, 2> dummy; in main()
Dflat_set_adaptor_test.cpp73 < GetSetContainer<static_vector<int, MaxElem * 10> >::apply<int>::set_type in main()
75 , GetSetContainer<static_vector<int, MaxElem * 10> >::apply<int>::multiset_type in main()
Dflat_map_adaptor_test.cpp76 < GetMapContainer<static_vector<std::pair<int, int>, MaxElem * 10> >::apply<int>::map_type in main()
78 … , GetMapContainer<static_vector<std::pair<int, int>, MaxElem * 10> >::apply<int>::multimap_type in main()
Dnull_iterators_test.cpp120 check_null_iterators< static_vector<int, 1> >(); in main()
121 check_plus_zero< static_vector<int, 1> >(); in main()
Dexplicit_inst_flat_set_test.cpp61 , static_vector<test::movable_and_copyable_int, 10 >
Dexplicit_inst_flat_map_test.cpp66 , static_vector<test_pair_t, 10 >
Dflat_tree_test.cpp91 , static_vector<test::movable_and_copyable_int, 10>
/third_party/boost/libs/container/example/
Ddoc_custom_static_vector.cpp28 static_vector<int, 10, alignment_16_option_t > sv; in main()
35 static_vector<int, 10, no_throw_options_t > sv2; in main()
/third_party/boost/libs/stl_interfaces/doc/
Dstl_interfaces.qbk41 [import ../example/static_vector.hpp]
42 [import ../example/static_vector.cpp]
Dtutorial.qbk912 [heading Example: `static_vector`]
915 `boost::container::static_vector`, which is a fixed-capacity vector that does
917 `static_vector`. It is implemented by deriving from _cont_iface_, which
921 `static_vector` meets all the sequence container requirements (including many
/third_party/boost/libs/container/bench/
Dbench_static_vector.cpp124 … time_boost_static_vector = time_it<boost::container::static_vector<boost::container::static_vecto… in main()
/third_party/boost/boost/container/detail/
Dcontainer_rebind.hpp154 struct container_rebind<static_vector<V, N, O>, U>
156 typedef static_vector<U, N, O> type;
/third_party/boost/libs/container/doc/
Dcontainer.qbk50 …* [classref boost::container::static_vector static_vector ]: a vector-like container that internal…
173 [classref boost::container::static_vector static_vector] and
176 [classref boost::container::static_vector static_vector] and
507 [section:static_vector ['static_vector]]
509 `static_vector` is an hybrid between `vector` and `array`: like `vector`, it's a sequence container
511 and fixed capacity of `array`. `static_vector` is based on Adam Wulkiewicz and Andrew Hundt's
515 The number of elements in a `static_vector` may vary dynamically up to a fixed capacity
517 initialized as they are inserted into `static_vector` unlike C arrays or `std::array` which must co…
518 all elements on instantiation. The behavior of `static_vector` enables the use of statically alloca…
526 `static_vector` is well suited for use in a buffer, the internal implementation of other
[all …]
/third_party/boost/libs/stl_interfaces/test/
Dstatic_vec.cpp15 template struct static_vector<int, 1024>; variable
17 using vec_type = static_vector<int, 10>;
Dstatic_vec_noncopyable.cpp50 using vec_type = static_vector<noncopyable_int, 10>;
/third_party/boost/libs/geometry/doc/
Dgeometry.qbk113 * Andrew Hundt (varray container, aka. static_vector)
/third_party/boost/libs/static_string/doc/qbk/
Dmain.qbk58 * The storage location of the static_vector elements is required to be

12