Commit 6e2d247b by Jonathan Wakely Committed by Jonathan Wakely

* include/std/functional (__is_location_invariant): Use __or_ helper.

From-SVN: r209445
parent 23b0af0a
2014-04-16 Jonathan Wakely <jwakely@redhat.com>
* include/std/functional (__is_location_invariant): Use __or_ helper.
2014-04-15 Jonathan Wakely <jwakely@redhat.com> 2014-04-15 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/60734 PR libstdc++/60734
......
...@@ -1747,8 +1747,7 @@ _GLIBCXX_HAS_NESTED_TYPE(result_type) ...@@ -1747,8 +1747,7 @@ _GLIBCXX_HAS_NESTED_TYPE(result_type)
*/ */
template<typename _Tp> template<typename _Tp>
struct __is_location_invariant struct __is_location_invariant
: integral_constant<bool, (is_pointer<_Tp>::value : __or_<is_pointer<_Tp>, is_member_pointer<_Tp>>::type
|| is_member_pointer<_Tp>::value)>
{ }; { };
class _Undefined_class; class _Undefined_class;
......
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