tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
data.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename C>
constexpr auto data (C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
 Returns a pointer to the block of memory containing the elements of the container.
 
template<typename C>
constexpr auto data (C const &c) noexcept(noexcept(c.data())) -> decltype(c.data())
 
template<typename T, size_t N>
constexpr auto data (T(&array)[N]) noexcept -> T *