summaryrefslogtreecommitdiff
path: root/include/__split_buffer
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-09-21 20:16:37 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-09-21 20:16:37 +0000
commit333f50d30cd7b9f6e171e0ea1285a9cfbaa1342a (patch)
tree03ca5fc6c4eec2aebeada11c0fc794bd7fd3b5fc /include/__split_buffer
parentb0be42b2ce0dbde30fb64a96586411f35d2b1aed (diff)
visibility-decoration.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@114470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__split_buffer')
-rw-r--r--include/__split_buffer6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/__split_buffer b/include/__split_buffer
index a44c23197..e3c2b9dd0 100644
--- a/include/__split_buffer
+++ b/include/__split_buffer
@@ -132,23 +132,29 @@ public:
bool __invariants() const;
private:
+ _LIBCPP_INLINE_VISIBILITY
void __move_assign_alloc(const __split_buffer& __c, true_type)
{
__alloc() = _STD::move(__c.__alloc());
}
+ _LIBCPP_INLINE_VISIBILITY
void __move_assign_alloc(const __split_buffer& __c, false_type)
{}
+ _LIBCPP_INLINE_VISIBILITY
static void __swap_alloc(__alloc_rr& __x, __alloc_rr& __y)
{__swap_alloc(__x, __y, integral_constant<bool,
__alloc_traits::propagate_on_container_swap::value>());}
+ _LIBCPP_INLINE_VISIBILITY
static void __swap_alloc(__alloc_rr& __x, __alloc_rr& __y, true_type)
{
using _STD::swap;
swap(__x, __y);
}
+
+ _LIBCPP_INLINE_VISIBILITY
static void __swap_alloc(__alloc_rr& __x, __alloc_rr& __y, false_type)
{}
};