carb::cpp::data

Defined in carb/cpp/detail/ImplData.h

template<class C>
constexpr auto carb::cpp::data(C &c) -> decltype(c.data())

Returns a pointer to the block of memory containing the elements of the range.

Template Parameters

C – The container type

Parameters

c – A container

Returns

c.data()