function template · 3 overloads
std::data
- Header
<iterator>- Draft
- [range.prim.data]
- Scope
std- cppreference
- std::data
Overloads
- (1)
template<class C> constexpr decltype(c.data()) data(C& c) noexcept(noexcept(c.data())); - (2)
template<class C> constexpr decltype(c.data()) data(const C& c) noexcept(noexcept(c.data())); - (3)
template<class T, size_t N> constexpr T* data(T(& a)[]) noexcept;