Commit 7dec245a by Paolo Carlini Committed by Paolo Carlini

functions.h (__foreign_iterator_aux4): Initialize __l and __ge.

2013-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/debug/functions.h (__foreign_iterator_aux4):
	Initialize __l and __ge.

From-SVN: r201426
parent a1a0abac
2013-08-02 Paolo Carlini <paolo.carlini@oracle.com> 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/functions.h (__foreign_iterator_aux4):
Initialize __l and __ge.
2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/58049 PR libstdc++/58049
* include/debug/functions.h: Include <bits/move.h>; minor formatting * include/debug/functions.h: Include <bits/move.h>; minor formatting
changes. changes.
......
...@@ -183,8 +183,8 @@ namespace __gnu_debug ...@@ -183,8 +183,8 @@ namespace __gnu_debug
{ {
typedef typename std::common_type<_PointerType1, typedef typename std::common_type<_PointerType1,
_PointerType2>::type _PointerType; _PointerType2>::type _PointerType;
constexpr std::less<_PointerType> __l; constexpr std::less<_PointerType> __l = {};
constexpr std::greater_equal<_PointerType> __ge; constexpr std::greater_equal<_PointerType> __ge = {};
return (__l(std::addressof(*__other), return (__l(std::addressof(*__other),
std::addressof(*(__it._M_get_sequence()->_M_base().begin()))) std::addressof(*(__it._M_get_sequence()->_M_base().begin())))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment