forked from boostorg/smart_ptr
Tidy long line formatting in allocate_shared_array.hpp and make_shared_array.hpp
[SVN r81277]
This commit is contained in:
@ -75,7 +75,8 @@ namespace boost {
|
|||||||
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
||||||
template<typename T, typename A>
|
template<typename T, typename A>
|
||||||
inline typename detail::sp_if_array<T>::type
|
inline typename detail::sp_if_array<T>::type
|
||||||
allocate_shared(const A& allocator, std::initializer_list<typename detail::array_inner<T>::type> list) {
|
allocate_shared(const A& allocator,
|
||||||
|
std::initializer_list<typename detail::array_inner<T>::type> list) {
|
||||||
typedef typename detail::array_inner<T>::type T1;
|
typedef typename detail::array_inner<T>::type T1;
|
||||||
typedef typename detail::array_base<T1>::type T2;
|
typedef typename detail::array_base<T1>::type T2;
|
||||||
typedef const T2 T3;
|
typedef const T2 T3;
|
||||||
@ -95,7 +96,8 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
template<typename T, typename A>
|
template<typename T, typename A>
|
||||||
inline typename detail::sp_if_size_array<T>::type
|
inline typename detail::sp_if_size_array<T>::type
|
||||||
allocate_shared(const A& allocator, std::initializer_list<typename detail::array_inner<T>::type> list) {
|
allocate_shared(const A& allocator,
|
||||||
|
std::initializer_list<typename detail::array_inner<T>::type> list) {
|
||||||
BOOST_ASSERT(list.size() == detail::array_size<T>::size);
|
BOOST_ASSERT(list.size() == detail::array_size<T>::size);
|
||||||
typedef typename detail::array_inner<T>::type T1;
|
typedef typename detail::array_inner<T>::type T1;
|
||||||
typedef typename detail::array_base<T1>::type T2;
|
typedef typename detail::array_base<T1>::type T2;
|
||||||
@ -116,7 +118,8 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
template<typename T, typename A>
|
template<typename T, typename A>
|
||||||
inline typename detail::sp_if_array<T>::type
|
inline typename detail::sp_if_array<T>::type
|
||||||
allocate_shared(const A& allocator, std::size_t size, std::initializer_list<typename detail::arrays_inner<T>::type> list) {
|
allocate_shared(const A& allocator, std::size_t size,
|
||||||
|
std::initializer_list<typename detail::arrays_inner<T>::type> list) {
|
||||||
typedef typename detail::array_inner<T>::type T1;
|
typedef typename detail::array_inner<T>::type T1;
|
||||||
typedef typename detail::array_base<T1>::type T2;
|
typedef typename detail::array_base<T1>::type T2;
|
||||||
typedef const T2 T3;
|
typedef const T2 T3;
|
||||||
|
@ -116,7 +116,8 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
template<typename T>
|
template<typename T>
|
||||||
inline typename detail::sp_if_array<T>::type
|
inline typename detail::sp_if_array<T>::type
|
||||||
make_shared(std::size_t size, std::initializer_list<typename detail::arrays_inner<T>::type> list) {
|
make_shared(std::size_t size,
|
||||||
|
std::initializer_list<typename detail::arrays_inner<T>::type> list) {
|
||||||
typedef typename detail::array_inner<T>::type T1;
|
typedef typename detail::array_inner<T>::type T1;
|
||||||
typedef typename detail::array_base<T1>::type T2;
|
typedef typename detail::array_base<T1>::type T2;
|
||||||
typedef const T2 T3;
|
typedef const T2 T3;
|
||||||
|
Reference in New Issue
Block a user