|
|
constexpr | sarr_soa (core::zero_t) noexcept |
| | Zero-initialization constructor. Because sarr_soa is not aggretate type, doing: sarr_soa<int,10> tmp{} does not zero-initialize its internals. We need to be explicit about our intent and use a special constructor.
|
| |
|
template<typename InputIt > |
| constexpr | sarr_soa (InputIt first, InputIt last) noexcept |
| |
|
constexpr | sarr_soa (std::initializer_list< T > il) |
| |
|
constexpr | sarr_soa (const sarr_soa &other) |
| |
|
constexpr | sarr_soa (sarr_soa &&other) noexcept |
| |
|
sarr_soa & | operator= (std::initializer_list< T > il) |
| |
|
constexpr sarr_soa & | operator= (const sarr_soa &other) |
| |
|
constexpr sarr_soa & | operator= (sarr_soa &&other) noexcept |
| |
|
GAIA_NODISCARD constexpr pointer | data () noexcept |
| |
|
GAIA_NODISCARD constexpr const_pointer | data () const noexcept |
| |
|
GAIA_NODISCARD constexpr decltype(auto) | operator[] (size_type pos) noexcept |
| |
|
GAIA_NODISCARD constexpr decltype(auto) | operator[] (size_type pos) const noexcept |
| |
|
GAIA_NODISCARD constexpr size_type | size () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | empty () const noexcept |
| |
|
GAIA_NODISCARD constexpr size_type | capacity () const noexcept |
| |
|
GAIA_NODISCARD constexpr size_type | max_size () const noexcept |
| |
|
GAIA_NODISCARD constexpr decltype(auto) | front () noexcept |
| |
|
GAIA_NODISCARD constexpr decltype(auto) | front () const noexcept |
| |
|
GAIA_NODISCARD constexpr decltype(auto) | back () noexcept |
| |
|
GAIA_NODISCARD constexpr decltype(auto) | back () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | begin () noexcept |
| |
|
GAIA_NODISCARD constexpr auto | begin () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | cbegin () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | rbegin () noexcept |
| |
|
GAIA_NODISCARD constexpr auto | rbegin () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | crbegin () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | end () noexcept |
| |
|
GAIA_NODISCARD constexpr auto | end () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | cend () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | rend () noexcept |
| |
|
GAIA_NODISCARD constexpr auto | rend () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | crend () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator== (const sarr_soa &other) const |
| |
|
GAIA_NODISCARD constexpr bool | operator!= (const sarr_soa &other) const |
| |
|
template<size_t Item> |
| auto | view_mut () noexcept |
| |
|
template<size_t Item> |
| auto | view () const noexcept |
| |
template<typename T, sarr_soa_detail::size_type N>
class gaia::cnt::sarr_soa< T, N >
Array of elements of type.
- Template Parameters
-
| T | with fixed size and capacity |
| N | allocated on stack. Interface compatiblity with std::array where it matters. |