#include <di/container/view/single_view.h>
Public Member Functions | |
| constexpr | SingleView ()=default |
| constexpr | SingleView (T const &value) |
| constexpr | SingleView (T &&value) |
| template<typename... Args> requires (concepts::ConstructibleFrom<T, Args...>) | |
| constexpr | SingleView (types::InPlace, Args &&... args) |
| constexpr auto | begin () -> T * |
| constexpr auto | begin () const -> T const * |
| constexpr auto | end () |
| constexpr auto | end () const |
| constexpr auto | data () |
| constexpr auto | data () const |
Public Member Functions inherited from di::container::ViewInterface< SingleView< T > > | |
| constexpr auto | empty () -> bool requires(concepts::SizedContainer< SingleView< T > >||concepts::ForwardContainer< SingleView< T > >) |
| constexpr auto | empty () const -> bool requires(concepts::SizedContainer< SingleView< T > const >||concepts::ForwardContainer< SingleView< T > const >) |
| constexpr | operator bool () |
| constexpr | operator bool () const |
| constexpr auto | cbegin () |
| constexpr auto | cbegin () const |
| constexpr auto | cend () |
| constexpr auto | cend () const |
| constexpr auto | data () |
| constexpr auto | data () const |
| constexpr auto | size () |
| constexpr auto | size () const |
| constexpr auto | front () |
| constexpr auto | front () const |
| constexpr auto | back () |
| constexpr auto | back () const |
| constexpr auto | operator[] (meta::ContainerSSizeType< Cont > n) -> decltype(auto) |
| constexpr auto | operator[] (meta::ContainerSSizeType< Cont > n) const -> decltype(auto) |
| constexpr auto | at (meta::ContainerSSizeType< Cont > n) -> Optional< meta::ContainerReference< Cont > > |
| constexpr auto | at (meta::ContainerSSizeType< Cont > n) const -> Optional< meta::ContainerReference< Cont > > |
Static Public Member Functions | |
| static constexpr auto | size () -> types::size_t |
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |