Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81277 - trunk/boost/smart_ptr
From: glenfe_at_[hidden]
Date: 2012-11-09 21:33:49


Author: glenfe
Date: 2012-11-09 21:33:48 EST (Fri, 09 Nov 2012)
New Revision: 81277
URL: http://svn.boost.org/trac/boost/changeset/81277

Log:
Tidy long line formatting in allocate_shared_array.hpp and make_shared_array.hpp
Text files modified:
   trunk/boost/smart_ptr/allocate_shared_array.hpp | 9 ++++++---
   trunk/boost/smart_ptr/make_shared_array.hpp | 3 ++-
   2 files changed, 8 insertions(+), 4 deletions(-)

Modified: trunk/boost/smart_ptr/allocate_shared_array.hpp
==============================================================================
--- trunk/boost/smart_ptr/allocate_shared_array.hpp (original)
+++ trunk/boost/smart_ptr/allocate_shared_array.hpp 2012-11-09 21:33:48 EST (Fri, 09 Nov 2012)
@@ -75,7 +75,8 @@
 #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
     template<typename T, typename A>
     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_base<T1>::type T2;
         typedef const T2 T3;
@@ -95,7 +96,8 @@
     }
     template<typename T, typename A>
     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);
         typedef typename detail::array_inner<T>::type T1;
         typedef typename detail::array_base<T1>::type T2;
@@ -116,7 +118,8 @@
     }
     template<typename T, typename A>
     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_base<T1>::type T2;
         typedef const T2 T3;

Modified: trunk/boost/smart_ptr/make_shared_array.hpp
==============================================================================
--- trunk/boost/smart_ptr/make_shared_array.hpp (original)
+++ trunk/boost/smart_ptr/make_shared_array.hpp 2012-11-09 21:33:48 EST (Fri, 09 Nov 2012)
@@ -116,7 +116,8 @@
     }
     template<typename T>
     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_base<T1>::type T2;
         typedef const T2 T3;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk