carb::cpp20::data

Defined in carb/cpp20/ImplData.h

template<class T, std::size_t N>
constexpr T *carb::cpp20::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