summaryrefslogtreecommitdiffstats
path: root/libcxx/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
commitf5ab703f686679be4473705d89d93637351ead77 (patch)
tree4a7bb18bd0fd076d970f6fd9faed1aadb74787a0 /libcxx/include/__split_buffer
parentbeb64f55cf58b908fc58c15129d94ebc5762a39f (diff)
downloadbcm5719-llvm-f5ab703f686679be4473705d89d93637351ead77.tar.gz
bcm5719-llvm-f5ab703f686679be4473705d89d93637351ead77.zip
visibility-decoration.
llvm-svn: 114470
Diffstat (limited to 'libcxx/include/__split_buffer')
-rw-r--r--libcxx/include/__split_buffer6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer
index a44c2319762..e3c2b9dd0b0 100644
--- a/libcxx/include/__split_buffer
+++ b/libcxx/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)
{}
};
OpenPOWER on IntegriCloud