mirror of git://gcc.gnu.org/git/gcc.git
Remove redefinition of __cpp_lib_array_constexpr
* include/bits/range_access.h (__cpp_lib_array_constexpr): Do not redefine macro defined in <bits/stl_iterator.h>. From-SVN: r240488
This commit is contained in:
parent
976160b962
commit
1a08d2da0e
|
|
@ -1,5 +1,8 @@
|
||||||
2016-09-26 Jonathan Wakely <jwakely@redhat.com>
|
2016-09-26 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/bits/range_access.h (__cpp_lib_array_constexpr): Do not
|
||||||
|
redefine macro defined in <bits/stl_iterator.h>.
|
||||||
|
|
||||||
* include/bits/stl_map.h (map::extract(const_iterator)): Assert that
|
* include/bits/stl_map.h (map::extract(const_iterator)): Assert that
|
||||||
iterator is not past-the-end.
|
iterator is not past-the-end.
|
||||||
* include/bits/stl_multimap.h (multimap::extract(const_iterator)):
|
* include/bits/stl_multimap.h (multimap::extract(const_iterator)):
|
||||||
|
|
|
||||||
|
|
@ -38,10 +38,6 @@ namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
|
|
||||||
#if __cplusplus >= 201402L
|
|
||||||
# define __cpp_lib_array_constexpr 201603L
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Return an iterator pointing to the first element of
|
* @brief Return an iterator pointing to the first element of
|
||||||
* the container.
|
* the container.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue