Equivalent to std::ranges::single_view.
More...
#include <single.hpp>
|
template<typename aT = T, std::enable_if_t< std::is_default_constructible_v< aT >, int > = 0> |
constexpr | single_view () |
| Default constructor.
|
|
template<typename aT = T, std::enable_if_t< std::is_copy_constructible_v< aT >, int > = 0> |
constexpr | single_view (const T &t) |
| Construct from an object convertible to type T.
|
|
constexpr | single_view (T &&t) |
| Construct from an object convertible to type T.
|
|
constexpr T * | begin () noexcept |
| Equivalent to data() ;.
|
|
constexpr const T * | begin () const noexcept |
|
constexpr T * | end () noexcept |
| Equivalent to data() + 1 ;.
|
|
constexpr const T * | end () const noexcept |
|
constexpr T * | data () noexcept |
| A pointer to the contained value.
|
|
constexpr const T * | data () const noexcept |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
constexpr bool | empty () |
|
constexpr bool | empty () const |
|
constexpr auto | cbegin () |
|
constexpr auto | cbegin () const |
|
constexpr auto | cend () |
|
constexpr auto | cend () const |
|
constexpr | operator bool () |
|
constexpr | operator bool () const |
|
constexpr auto | size () |
|
constexpr auto | size () const |
|
decltype(auto) constexpr | front () |
|
decltype(auto) constexpr | front () const |
|
decltype(auto) constexpr | back () |
|
decltype(auto) constexpr | back () const |
|
decltype(auto) constexpr | operator[] (range_difference_t< D > n) |
|
decltype(auto) constexpr | operator[] (range_difference_t< D > n) const |
|
|
static constexpr auto | empty () noexcept |
|
static constexpr std::size_t | size () noexcept |
| The size of the resulting object (which is always 1)
|
|
template<typename T>
struct OpenKalman::ranges::single_view< T >
Equivalent to std::ranges::single_view.
◆ begin()
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ empty()
◆ end()
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The documentation for this struct was generated from the following file: