Skip to content

Commit 6447b40

Browse files
committed
Remove idef-ed out overload of get_c_array
1 parent 17b49d8 commit 6447b40

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

include/boost/array.hpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -390,24 +390,6 @@ namespace boost {
390390
return arg.elems;
391391
}
392392

393-
#if 0
394-
// Overload for std::array, assuming that std::array will have
395-
// explicit conversion functions as discussed at the WG21 meeting
396-
// in Summit, March 2009.
397-
template <typename T, std::size_t N>
398-
T(&get_c_array(std::array<T,N>& arg))[N]
399-
{
400-
return static_cast<T(&)[N]>(arg);
401-
}
402-
403-
// Const version.
404-
template <typename T, std::size_t N>
405-
const T(&get_c_array(const std::array<T,N>& arg))[N]
406-
{
407-
return static_cast<T(&)[N]>(arg);
408-
}
409-
#endif
410-
411393
template <class It> std::size_t hash_range(It, It);
412394

413395
template<class T, std::size_t N>

0 commit comments

Comments
 (0)