We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_c_array
1 parent fe60e16 commit 17b49d8Copy full SHA for 17b49d8
include/boost/array.hpp
@@ -374,15 +374,17 @@ namespace boost {
374
x.swap(y);
375
}
376
377
-// Specific for boost::array: simply returns its elems data member.
+ // undocumented and obsolete
378
template <typename T, std::size_t N>
379
+ BOOST_DEPRECATED( "please use `elems` instead" )
380
T(&get_c_array(boost::array<T,N>& arg))[N]
381
{
382
return arg.elems;
383
384
385
// Const version.
386
387
388
const T(&get_c_array(const boost::array<T,N>& arg))[N]
389
390
0 commit comments