summaryrefslogtreecommitdiff
path: root/include/stack
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-06-30 21:18:19 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-06-30 21:18:19 +0000
commit0949eedbd621bc1611266fb180d9a356ee1eaf9f (patch)
tree32980a76874f97a8dfca6329b5b3eb9213a3be60 /include/stack
parentd318d49e5c74179d0f4f9a79ab0f54a9531c5513 (diff)
downloadlibcxx_35a-0949eedbd621bc1611266fb180d9a356ee1eaf9f.tar.gz
_STD -> _VSTD to avoid macro clash on windows
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/stack')
-rw-r--r--include/stack16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/stack b/include/stack
index 2e007003..3d72f966 100644
--- a/include/stack
+++ b/include/stack
@@ -125,7 +125,7 @@ public:
_LIBCPP_INLINE_VISIBILITY
stack(stack&& __q)
_NOEXCEPT_(is_nothrow_move_constructible<container_type>::value)
- : c(_STD::move(__q.c)) {}
+ : c(_VSTD::move(__q.c)) {}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
@@ -135,14 +135,14 @@ public:
_LIBCPP_INLINE_VISIBILITY
stack& operator=(stack&& __q)
_NOEXCEPT_(is_nothrow_move_assignable<container_type>::value)
- {c = _STD::move(__q.c); return *this;}
+ {c = _VSTD::move(__q.c); return *this;}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
explicit stack(const container_type& __c) : c(__c) {}
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
- explicit stack(container_type&& __c) : c(_STD::move(__c)) {}
+ explicit stack(container_type&& __c) : c(_VSTD::move(__c)) {}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _Alloc>
_LIBCPP_INLINE_VISIBILITY
@@ -168,13 +168,13 @@ public:
stack(container_type&& __c, const _Alloc& __a,
typename enable_if<uses_allocator<container_type,
_Alloc>::value>::type* = 0)
- : c(_STD::move(__c), __a) {}
+ : c(_VSTD::move(__c), __a) {}
template <class _Alloc>
_LIBCPP_INLINE_VISIBILITY
stack(stack&& __s, const _Alloc& __a,
typename enable_if<uses_allocator<container_type,
_Alloc>::value>::type* = 0)
- : c(_STD::move(__s.c), __a) {}
+ : c(_VSTD::move(__s.c), __a) {}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
@@ -190,12 +190,12 @@ public:
void push(const value_type& __v) {c.push_back(__v);}
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
- void push(value_type&& __v) {c.push_back(_STD::move(__v));}
+ void push(value_type&& __v) {c.push_back(_VSTD::move(__v));}
#ifndef _LIBCPP_HAS_NO_VARIADICS
template <class... _Args>
_LIBCPP_INLINE_VISIBILITY
void emplace(_Args&&... __args)
- {c.emplace_back(_STD::forward<_Args>(__args)...);}
+ {c.emplace_back(_VSTD::forward<_Args>(__args)...);}
#endif // _LIBCPP_HAS_NO_VARIADICS
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
@@ -205,7 +205,7 @@ public:
void swap(stack& __s)
_NOEXCEPT_(__is_nothrow_swappable<container_type>::value)
{
- using _STD::swap;
+ using _VSTD::swap;
swap(c, __s.c);
}