A Container holding sl3::Type values.
More...
#include <sl3/types.hpp>
|
|
using | conatiner_type = Container::conatiner_type |
| |
|
using | iterator = conatiner_type::iterator |
| |
|
using | const_iterator = conatiner_type::const_iterator |
| |
|
using | value_type = conatiner_type::value_type |
| |
|
using | reference = conatiner_type::reference |
| |
|
using | const_reference = conatiner_type::const_reference |
| |
|
using | size_type = conatiner_type::size_type |
| |
|
using | conatiner_type |
| |
|
using | iterator |
| |
|
using | const_iterator |
| |
|
using | value_type |
| |
|
using | reference |
| |
|
using | const_reference |
| |
|
using | size_type |
| |
|
using | container_type |
| |
|
| void | swap (Types &other) noexcept |
| | Swap container.
|
| |
| | Container () noexcept |
| | Constructor.
|
| |
| | Container (ContainerType container) noexcept(std::is_nothrow_move_constructible< ContainerType >::value) |
| | Constructor.
|
| |
| | Container (std::initializer_list< value_type > container) |
| | Constructor.
|
| |
| | Container (const Container &)=default |
| | Copy Constructor.
|
| |
| | Container (Container &&) noexcept(std::is_nothrow_move_constructible< ContainerType >::value)=default |
| | Move constructor.
|
| |
| | Container () noexcept |
| | Constructor.
|
| |
| | Container (std::vector< Type > container) noexcept(std::is_nothrow_move_constructible< std::vector< Type > >::value) |
| | Constructor.
|
| |
| | Container (std::initializer_list< value_type > container) |
| | Constructor.
|
| |
| | Container (const Container &)=default |
| | Copy Constructor.
|
| |
| | Container (Container &&) noexcept(std::is_nothrow_move_constructible< std::vector< Type > >::value)=default |
| | Move constructor.
|
| |
| Container & | operator= (const Container &)=default |
| | Assignment.
|
| |
| Container & | operator= (Container &&)=default |
| | Move assignment.
|
| |
| virtual | ~Container () noexcept(std::is_nothrow_destructible< std::vector< Type > >::value)=default |
| | Destructor.
|
| |
| iterator | begin () |
| | Iterator access.
|
| |
| const_iterator | begin () const |
| | Iterator access.
|
| |
| iterator | end () |
| | Iterator access.
|
| |
| const_iterator | end () const |
| | Iterator access.
|
| |
| const_iterator | cbegin () const |
| | Iterator access.
|
| |
| const_iterator | cend () const |
| | Iterator access.
|
| |
| size_type | size () const |
| | Container size.
|
| |
| reference | at (size_t i) |
| | checked random access
|
| |
| const_reference | at (size_t i) const |
| | checked random access
|
| |
| reference | operator[] (size_t i) |
| | unchecked random access
|
| |
| const_reference | operator[] (size_t i) const |
| | unchecked random access
|
| |
A Container holding sl3::Type values.
A fixed size list of sl3::Type values.
◆ Container() [1/5]
Constructor.
Create an empty container.
◆ Container() [2/5]
◆ Container() [3/5]
◆ Container() [4/5]
◆ Container() [5/5]
| sl3::Container< ContainerType >::Container |
( |
std::initializer_list< value_type > | container | ) |
|
|
inline |
◆ swap()
| void sl3::Types::swap |
( |
Types & | other | ) |
|
|
noexcept |
Swap container.
Uses standard swap to change the contents.
- Parameters
-
The documentation for this class was generated from the following file: