summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__functional_base_03
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-09-21 17:32:39 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-09-21 17:32:39 +0000
commit43d992386088b248457d031b6b2acbfcbfd67f97 (patch)
tree0ee8bcc749a00215acecf53099da441a32b7f4ba /libcxx/include/__functional_base_03
parent5e39ffd02feaa59da0a4c5ab15f4b36ba2c4d65d (diff)
downloadbcm5719-llvm-43d992386088b248457d031b6b2acbfcbfd67f97.tar.gz
bcm5719-llvm-43d992386088b248457d031b6b2acbfcbfd67f97.zip
visibility-decoration.
llvm-svn: 114451
Diffstat (limited to 'libcxx/include/__functional_base_03')
-rw-r--r--libcxx/include/__functional_base_036
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/include/__functional_base_03 b/libcxx/include/__functional_base_03
index 19e7414f829..86a804ae4ed 100644
--- a/libcxx/include/__functional_base_03
+++ b/libcxx/include/__functional_base_03
@@ -996,7 +996,7 @@ struct __invoke_return2
};
template <class _Tp>
-class reference_wrapper
+class _LIBCPP_VISIBLE reference_wrapper
: public __weak_result_type<_Tp>
{
public:
@@ -1015,6 +1015,7 @@ public:
// invoke
+ _LIBCPP_INLINE_VISIBILITY
typename __invoke_return<type&>::type
operator() () const
{
@@ -1022,6 +1023,7 @@ public:
}
template <class _A0>
+ _LIBCPP_INLINE_VISIBILITY
typename __invoke_return0<type&, _A0>::type
operator() (_A0& __a0) const
{
@@ -1029,6 +1031,7 @@ public:
}
template <class _A0, class _A1>
+ _LIBCPP_INLINE_VISIBILITY
typename __invoke_return1<type&, _A0, _A1>::type
operator() (_A0& __a0, _A1& __a1) const
{
@@ -1036,6 +1039,7 @@ public:
}
template <class _A0, class _A1, class _A2>
+ _LIBCPP_INLINE_VISIBILITY
typename __invoke_return2<type&, _A0, _A1, _A2>::type
operator() (_A0& __a0, _A1& __a1, _A2& __a2) const
{
OpenPOWER on IntegriCloud