kblib 0.2.3
General utilities library for modern C++
|
#include <kblib/multi_span.h>
Public Types | |
using | element_type = T |
using | value_type = std::remove_cv< T > |
using | index_type = std::ptrdiff_t |
using | difference_type = std::ptrdiff_t |
using | pointer = T * |
using | reference = T & |
using | iterator = multi_impl::mulspan_iterator< T > |
using | const_iterator = multi_impl::mulspan_iterator< const T > |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
Public Member Functions | |
multi_span () noexcept | |
template<typename U , typename = std::enable_if_t<std::is_convertible_v<U (*)[], T (*)[]>>> | |
multi_span (span< U > o) noexcept | |
template<typename U , typename = std::enable_if_t<std::is_convertible_v<U (*)[], T (*)[]>>> | |
multi_span (std::initializer_list< span< U > > i_spans) noexcept | |
template<typename Iterator > | |
multi_span (Iterator begin, Iterator end) noexcept | |
template<typename U , typename = std::enable_if_t<std::is_convertible_v<U (*)[], T (*)[]>>> | |
multi_span (const multi_span< U > &) | |
multi_span (const multi_span &)=default | |
multi_span (multi_span &&) noexcept=default | |
auto | operator= (const multi_span &) -> multi_span &=default |
auto | operator= (multi_span &&) noexcept -> multi_span &=default |
~multi_span ()=default | |
auto | begin () noexcept -> iterator |
auto | begin () const noexcept -> const_iterator |
auto | cbegin () const noexcept -> const_iterator |
auto | end () noexcept -> iterator |
auto | end () const noexcept -> const_iterator |
auto | cend () const noexcept -> const_iterator |
auto | rbegin () noexcept -> reverse_iterator |
auto | rbegin () const noexcept -> const_reverse_iterator |
auto | crbegin () const noexcept -> const_reverse_iterator |
auto | rend () noexcept -> reverse_iterator |
auto | rend () const noexcept -> const_reverse_iterator |
auto | crend () const noexcept -> const_reverse_iterator |
reference | operator[] (index_type i) const |
auto | size () const noexcept -> index_type |
auto | empty () const noexcept -> bool |
auto | diag (std::ostream &os) const noexcept -> void |
Friends | |
template<typename U > | |
class | multi_impl::mulspan_iterator |
Definition at line 195 of file multi_span.h.
using kblib::multi_span< T >::const_iterator = multi_impl::mulspan_iterator<const T> |
Definition at line 204 of file multi_span.h.
using kblib::multi_span< T >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 206 of file multi_span.h.
using kblib::multi_span< T >::difference_type = std::ptrdiff_t |
Definition at line 200 of file multi_span.h.
using kblib::multi_span< T >::element_type = T |
Definition at line 197 of file multi_span.h.
using kblib::multi_span< T >::index_type = std::ptrdiff_t |
Definition at line 199 of file multi_span.h.
using kblib::multi_span< T >::iterator = multi_impl::mulspan_iterator<T> |
Definition at line 203 of file multi_span.h.
using kblib::multi_span< T >::pointer = T* |
Definition at line 201 of file multi_span.h.
using kblib::multi_span< T >::reference = T& |
Definition at line 202 of file multi_span.h.
using kblib::multi_span< T >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 205 of file multi_span.h.
using kblib::multi_span< T >::value_type = std::remove_cv<T> |
Definition at line 198 of file multi_span.h.
|
inlinenoexcept |
Definition at line 208 of file multi_span.h.
|
inlinenoexcept |
Definition at line 213 of file multi_span.h.
|
inlinenoexcept |
Definition at line 218 of file multi_span.h.
|
inlinenoexcept |
Definition at line 229 of file multi_span.h.
kblib::multi_span< T >::multi_span | ( | const multi_span< U > & | ) |
|
default |
|
defaultnoexcept |
|
default |
|
inlinenoexcept |
Definition at line 252 of file multi_span.h.
|
inlinenoexcept |
Definition at line 251 of file multi_span.h.
|
inlinenoexcept |
Definition at line 255 of file multi_span.h.
|
inlinenoexcept |
Definition at line 265 of file multi_span.h.
|
inlinenoexcept |
Definition at line 275 of file multi_span.h.
|
inlinenoexcept |
Definition at line 285 of file multi_span.h.
|
inlinenoexcept |
Definition at line 301 of file multi_span.h.
|
inlinenoexcept |
Definition at line 297 of file multi_span.h.
|
inlinenoexcept |
Definition at line 262 of file multi_span.h.
|
inlinenoexcept |
Definition at line 259 of file multi_span.h.
|
default |
|
defaultnoexcept |
|
inline |
Definition at line 289 of file multi_span.h.
|
inlinenoexcept |
Definition at line 272 of file multi_span.h.
|
inlinenoexcept |
Definition at line 269 of file multi_span.h.
|
inlinenoexcept |
Definition at line 282 of file multi_span.h.
|
inlinenoexcept |
Definition at line 279 of file multi_span.h.
|
inlinenoexcept |
Definition at line 294 of file multi_span.h.
Definition at line 327 of file multi_span.h.