File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -416,12 +416,14 @@ namespace boost {
416
416
// If we don't have std::array, I'm assuming that we don't have std::get
417
417
namespace std {
418
418
template <size_t Idx, typename T, size_t N>
419
+ BOOST_DEPRECATED ( " please use `boost::get` instead" )
419
420
T &get (boost::array<T,N> &arr) BOOST_NOEXCEPT {
420
421
BOOST_STATIC_ASSERT_MSG ( Idx < N, " std::get<>(boost::array &) index out of range" );
421
422
return arr[Idx];
422
423
}
423
424
424
425
template <size_t Idx, typename T, size_t N>
426
+ BOOST_DEPRECATED ( " please use `boost::get` instead" )
425
427
const T &get (const boost::array<T,N> &arr) BOOST_NOEXCEPT {
426
428
BOOST_STATIC_ASSERT_MSG ( Idx < N, " std::get<>(const boost::array &) index out of range" );
427
429
return arr[Idx];
You can’t perform that action at this time.
0 commit comments