From fa513340d74c987ca21e3c8fe74fa2d4284852a2 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sat, 10 Nov 2012 02:33:48 +0000 Subject: [PATCH] Tidy long line formatting in allocate_shared_array.hpp and make_shared_array.hpp [SVN r81277] --- include/boost/smart_ptr/allocate_shared_array.hpp | 9 ++++++--- include/boost/smart_ptr/make_shared_array.hpp | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/boost/smart_ptr/allocate_shared_array.hpp b/include/boost/smart_ptr/allocate_shared_array.hpp index 89923c7..b2aa826 100644 --- a/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/include/boost/smart_ptr/allocate_shared_array.hpp @@ -75,7 +75,8 @@ namespace boost { #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) template inline typename detail::sp_if_array::type - allocate_shared(const A& allocator, std::initializer_list::type> list) { + allocate_shared(const A& allocator, + std::initializer_list::type> list) { typedef typename detail::array_inner::type T1; typedef typename detail::array_base::type T2; typedef const T2 T3; @@ -95,7 +96,8 @@ namespace boost { } template inline typename detail::sp_if_size_array::type - allocate_shared(const A& allocator, std::initializer_list::type> list) { + allocate_shared(const A& allocator, + std::initializer_list::type> list) { BOOST_ASSERT(list.size() == detail::array_size::size); typedef typename detail::array_inner::type T1; typedef typename detail::array_base::type T2; @@ -116,7 +118,8 @@ namespace boost { } template inline typename detail::sp_if_array::type - allocate_shared(const A& allocator, std::size_t size, std::initializer_list::type> list) { + allocate_shared(const A& allocator, std::size_t size, + std::initializer_list::type> list) { typedef typename detail::array_inner::type T1; typedef typename detail::array_base::type T2; typedef const T2 T3; diff --git a/include/boost/smart_ptr/make_shared_array.hpp b/include/boost/smart_ptr/make_shared_array.hpp index 5329322..f9a39ff 100644 --- a/include/boost/smart_ptr/make_shared_array.hpp +++ b/include/boost/smart_ptr/make_shared_array.hpp @@ -116,7 +116,8 @@ namespace boost { } template inline typename detail::sp_if_array::type - make_shared(std::size_t size, std::initializer_list::type> list) { + make_shared(std::size_t size, + std::initializer_list::type> list) { typedef typename detail::array_inner::type T1; typedef typename detail::array_base::type T2; typedef const T2 T3;