#include "span.hpp"
|
constexpr | span (_base v) noexcept |
|
template<class U >
requires ( !std::is_same_v<std::decay_t<U>, span> && !std::is_same_v<std::decay_t<U>, _base> && !std::is_same_v<std::decay_t<U>, _const_base> && std::is_convertible<typename std::decay_t<U>::pointer, typename _base::pointer>::value && requires { declval<U>().data(); } && requires { declval<U>().size(); }) |
constexpr | span (U &&v) noexcept |
|
◆ span() [1/2]
template<class T , size_t Extent = std::dynamic_extent>
◆ span() [2/2]
template<class T , size_t Extent = std::dynamic_extent>
template<class U >
requires ( !std::is_same_v<std::decay_t<U>,
span> && !std::is_same_v<std::decay_t<U>, _base> && !std::is_same_v<std::decay_t<U>, _const_base> && std::is_convertible<typename std::decay_t<U>::pointer, typename _base::pointer>::value && requires {
declval<U>().data(); } && requires {
declval<U>().size(); })
79 : _base(v.data(), v.size())
80 {
81 }
◆ elements
T std::span< T >::elements |
|
inherited |
The documentation for this class was generated from the following file: