From ce48a1137d56d368828d360e5f2a8162bac6517c Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Thu, 30 Jun 2011 21:18:19 +0000 Subject: _STD -> _VSTD to avoid macro clash on windows llvm-svn: 134190 --- libcxx/include/array | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libcxx/include/array') diff --git a/libcxx/include/array b/libcxx/include/array index 888fac21e53..3ac4c55b9d2 100644 --- a/libcxx/include/array +++ b/libcxx/include/array @@ -136,10 +136,10 @@ struct _LIBCPP_VISIBLE array // No explicit construct/copy/destroy for aggregate type _LIBCPP_INLINE_VISIBILITY void fill(const value_type& __u) - {_STD::fill_n(__elems_, _Size, __u);} + {_VSTD::fill_n(__elems_, _Size, __u);} _LIBCPP_INLINE_VISIBILITY void swap(array& __a) _NOEXCEPT_(__is_nothrow_swappable<_Tp>::value) - {_STD::swap_ranges(__elems_, __elems_ + _Size, __a.__elems_);} + {_VSTD::swap_ranges(__elems_, __elems_ + _Size, __a.__elems_);} // iterators: _LIBCPP_INLINE_VISIBILITY @@ -225,7 +225,7 @@ _LIBCPP_INLINE_VISIBILITY inline bool operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) { - return _STD::equal(__x.__elems_, __x.__elems_ + _Size, __y.__elems_); + return _VSTD::equal(__x.__elems_, __x.__elems_ + _Size, __y.__elems_); } template @@ -241,7 +241,7 @@ _LIBCPP_INLINE_VISIBILITY inline bool operator<(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) { - return _STD::lexicographical_compare(__x.__elems_, __x.__elems_ + _Size, __y.__elems_, __y.__elems_ + _Size); + return _VSTD::lexicographical_compare(__x.__elems_, __x.__elems_ + _Size, __y.__elems_, __y.__elems_ + _Size); } template @@ -326,7 +326,7 @@ _LIBCPP_INLINE_VISIBILITY inline _Tp&& get(array<_Tp, _Size>&& __a) _NOEXCEPT { - return _STD::move(__a[_Ip]); + return _VSTD::move(__a[_Ip]); } #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES -- cgit v1.2.3