|
sparrow 2.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
|
A view that repeats a value a given number of times. More...
#include <repeat_container.hpp>
Public Types | |
| using | storage_traits = detail::repeat_view_storage_traits<T> |
| using | value_type = typename storage_traits::value_type |
| using | self_type = repeat_view<T> |
| using | const_iterator = repeat_view_iterator<value_type> |
Public Member Functions | |
| constexpr | repeat_view (typename storage_traits::constructor_reference value, size_t count) noexcept(std::is_nothrow_constructible_v< typename storage_traits::storage_type, typename storage_traits::constructor_reference >) |
| Constructs a repeat_view. | |
| constexpr | repeat_view (value_type &&value, size_t count) noexcept(std::is_nothrow_move_constructible_v< value_type >) |
| constexpr const_iterator | begin () const noexcept |
| constexpr const_iterator | end () const noexcept |
| constexpr const_iterator | cbegin () const noexcept |
| constexpr const_iterator | cend () const noexcept |
| constexpr size_t | size () const noexcept |
A view that repeats a value a given number of times.
Definition at line 99 of file repeat_container.hpp.
| using sparrow::repeat_view< T >::const_iterator = repeat_view_iterator<value_type> |
Definition at line 106 of file repeat_container.hpp.
| using sparrow::repeat_view< T >::self_type = repeat_view<T> |
Definition at line 105 of file repeat_container.hpp.
| using sparrow::repeat_view< T >::storage_traits = detail::repeat_view_storage_traits<T> |
Definition at line 103 of file repeat_container.hpp.
| using sparrow::repeat_view< T >::value_type = typename storage_traits::value_type |
Definition at line 104 of file repeat_container.hpp.
|
constexprnoexcept |
Constructs a repeat_view.
| value | The value to repeat |
| count | The number of times to repeat the value |
Definition at line 192 of file repeat_container.hpp.
|
constexprnoexcept |
Definition at line 201 of file repeat_container.hpp.
|
constexprnoexcept |
Definition at line 218 of file repeat_container.hpp.
|
constexprnoexcept |
Definition at line 230 of file repeat_container.hpp.
|
constexprnoexcept |
Definition at line 236 of file repeat_container.hpp.
|
constexprnoexcept |
Definition at line 224 of file repeat_container.hpp.
|
nodiscardconstexprnoexcept |
Definition at line 242 of file repeat_container.hpp.