Adorn make_unique with visibility and inline attributes

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2013-07-02 20:06:09 +00:00
parent 9a06b9d017
commit fb5511027b

View File

@ -3104,6 +3104,7 @@ struct __unique_if<_Tp[_Np]>
};
template<class _Tp, class... _Args>
inline _LIBCPP_INLINE_VISIBILITY
typename __unique_if<_Tp>::__unique_single
make_unique(_Args&&... __args)
{
@ -3111,6 +3112,7 @@ make_unique(_Args&&... __args)
}
template<class _Tp>
inline _LIBCPP_INLINE_VISIBILITY
typename __unique_if<_Tp>::__unique_array_unknown_bound
make_unique(size_t __n)
{