Namespaces | |
detail | |
std11 | |
std17 | |
std20 | |
Classes | |
class | span |
struct | with_container_t |
Typedefs | |
typedef span_CONFIG_EXTENT_TYPE | extent_t |
typedef span_CONFIG_SIZE_TYPE | size_t |
Functions | |
template<class T > | |
span_constexpr size_t | to_size (T size) |
template<class T , extent_t Extent> | |
span_constexpr std::size_t | size (span< T, Extent > const &spn) |
template<class T , extent_t Extent> | |
span_constexpr std::ptrdiff_t | ssize (span< T, Extent > const &spn) |
Variables | |
span_constexpr const extent_t | dynamic_extent = static_cast<extent_t>( -1 ) |
const span_constexpr with_container_t | with_container |
Definition at line 564 of file span-lite.hpp.
Definition at line 565 of file span-lite.hpp.
|
inline |
Definition at line 871 of file span-lite.hpp.
References size().
Referenced by nonstd::span_lite::span< T, Extent >::size_bytes(), and nonstd::span_lite::span< T, Extent >::span().
span_constexpr std::size_t nonstd::span_lite::size | ( | span< T, Extent > const & | spn | ) |
Definition at line 1535 of file span-lite.hpp.
References nonstd::span_lite::span< T, Extent >::size().
Referenced by ndn::ethernet::Address::Address(), nonstd::span_lite::span< T, Extent >::back(), websocketpp::frame::basic_header::basic_header(), ndn::security::transform::BufferSource::BufferSource(), nonstd::span_lite::span< T, Extent >::cend(), ndn::detail::RsaKeyParamsInfo::checkKeySize(), ndn::detail::EcKeyParamsInfo::checkKeySize(), ndn::detail::AesKeyParamsInfo::checkKeySize(), ndn::detail::HmacKeyParamsInfo::checkKeySize(), websocketpp::utility::ci_find_substr(), ns3::ndn::ConsumerWindow::ConsumerWindow(), nonstd::span_lite::span< T, Extent >::empty(), nonstd::span_lite::span< T, Extent >::end(), ndn::security::DummyTpm::Error::Error(), nonstd::span_lite::span< T, Extent >::first(), websocketpp::frame::get_header_len(), websocketpp::message_buffer::alloc::con_msg_manager< message >::get_message(), ndn::security::v2::TrustAnchorGroup::getId(), ndn::SimplePublicKeyParams< KeyParamsInfo >::getKeySize(), ndn::SimpleSymmetricKeyParams< KeyParamsInfo >::getKeySize(), ndn::detail::RsaKeyParamsInfo::getType(), ndn::detail::EcKeyParamsInfo::getType(), ndn::detail::AesKeyParamsInfo::getType(), ndn::detail::HmacKeyParamsInfo::getType(), nonstd::span_lite::detail::is_positive(), ndn::tlv::isCriticalType(), nonstd::span_lite::span< T, Extent >::last(), nfd::cs::lru::LruPolicy::LruPolicy(), websocketpp::message_buffer::message< con_msg_manager >::message(), ns3::ndn::NetDeviceTransport::NetDeviceTransport(), ndn::tlv::detail::ReadNumberSlow< Iterator >::operator()(), nfd::pit::Iterator::operator++(), nfd::pit::Iterator::operator->(), nonstd::span_lite::span< T, Extent >::operator[](), ndn::nfd::parseDatasetVector(), ndn::security::transform::passwordCallbackWrapper(), ns3::AnnotatedTopologyReader::Read(), ns3::RocketfuelWeightsReader::Read(), ns3::RocketfuelMapReader::Read(), ns3::RocketfuelMapReader::SaveGraphviz(), ndn::SimplePublicKeyParams< KeyParamsInfo >::SimplePublicKeyParams(), ndn::SimpleSymmetricKeyParams< KeyParamsInfo >::SimpleSymmetricKeyParams(), nonstd::span_lite::span< T, Extent >::size_bytes(), nonstd::span_lite::span< T, Extent >::span(), ssize(), ndn::util::SegmentFetcher::stop(), nonstd::span_lite::span< T, Extent >::subspan(), to_size(), ndn::Block::wire(), and nfd::cs::priority_fifo::PriorityFifoPolicy::~PriorityFifoPolicy().
span_constexpr std::ptrdiff_t nonstd::span_lite::ssize | ( | span< T, Extent > const & | spn | ) |
Definition at line 1541 of file span-lite.hpp.
References dynamic_extent, nonstd::span_lite::span< T, Extent >::first(), nonstd::span_lite::span< T, Extent >::last(), nonstd::span_lite::span< T, Extent >::size(), size(), span_CONFIG_EXTENT_TYPE, span_constexpr, span_RESTORE_WARNINGS, span_sizeof, nonstd::span_lite::span< T, Extent >::subspan(), and with_container.
Referenced by ndn::Name::at().
span_constexpr const extent_t nonstd::span_lite::dynamic_extent = static_cast<extent_t>( -1 ) |
Definition at line 567 of file span-lite.hpp.
Referenced by ssize(), and nonstd::span_lite::span< T, Extent >::subspan().
const span_constexpr with_container_t nonstd::span_lite::with_container |
Definition at line 575 of file span-lite.hpp.
Referenced by ssize().