diff options
author | Howard Hinnant <hhinnant@apple.com> | 2010-08-22 00:02:43 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2010-08-22 00:02:43 +0000 |
commit | 324bb03bb94f67ae7f9092810e4e4f6bd8bf506e (patch) | |
tree | 30aec932e805f3f0e63f5207bc7df3401b8f0b36 /include/stack | |
parent | 92172b891fabc4d92cc6fa32b1c70d7d926571fa (diff) |
Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/stack')
-rw-r--r-- | include/stack | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stack b/include/stack index 082f51b8d..f4be79bf7 100644 --- a/include/stack +++ b/include/stack @@ -111,7 +111,7 @@ public: explicit stack(container_type&& __c) : c(_STD::move(__c)) {} stack(stack&& __s) : c(_STD::move(__s.c)) {} stack& operator=(stack&& __s) {c = _STD::move(__s.c); return *this;} -#endif +#endif // _LIBCPP_MOVE template <class _Alloc> explicit stack(const _Alloc& __a, typename enable_if<uses_allocator<container_type, @@ -138,7 +138,7 @@ public: typename enable_if<uses_allocator<container_type, _Alloc>::value>::type* = 0) : c(_STD::move(__s.c), __a) {} -#endif +#endif // _LIBCPP_MOVE bool empty() const {return c.empty();} size_type size() const {return c.size();} @@ -150,7 +150,7 @@ public: void push(value_type&& __v) {c.push_back(_STD::move(__v));} template <class... _Args> void emplace(_Args&&... __args) {c.emplace_back(_STD::forward<_Args>(__args)...);} -#endif +#endif // _LIBCPP_MOVE void pop() {c.pop_back();} void swap(stack& __s) @@ -163,7 +163,7 @@ public: friend bool operator==(const stack<T1, _C1>& __x, const stack<T1, _C1>& __y); - + template <class T1, class _C1> friend bool |