carb::cpp::data

Defined in carb/cpp/detail/ImplData.h

template<class T, std::size_t N>
constexpr T *carb::cpp::data(T (&array)[N]) noexcept

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

Template Parameters
  • T – The type of the array elements

  • N – The size of the array

Parameters

array – An array

Returns

array