std::span

GPTKB entity

Statements (33)
Predicate Object
gptkbp:instanceOf C++ class template
gptkbp:canBe const data
mutable data
gptkbp:canCreate gptkb:std::vector
array
std::array
pointer and size
gptkbp:definedIn C++20 standard
gptkbp:extentType dynamic extent
static extent
gptkbp:function begin()
end()
size()
back()
operator[]
data()
empty()
front()
subspan()
gptkbp:headerFile <span>
https://www.w3.org/2000/01/rdf-schema#label std::span
gptkbp:introducedIn gptkb:C++20
gptkbp:isContiguous true
gptkbp:isLightweight true
gptkbp:isNonOwning true
gptkbp:isSafe depends on lifetime of underlying data
gptkbp:isTriviallyCopyable true
gptkbp:namespace std
gptkbp:parameter ElementType
Extent
gptkbp:purpose provides a view over a contiguous sequence of objects
gptkbp:bfsParent gptkb:std::mdspan
gptkbp:bfsLayer 7