Skip to content

Commit ed93877

Browse files
committed
Trim trailing spaces.
1 parent 47dec03 commit ed93877

23 files changed

+229
-229
lines changed

include/boost/assign/assignment_exception.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
// http://www.boost.org/LICENSE_1_0.txt)
77
//
88
// For more information, see http://www.boost.org/libs/assign/
9-
//
10-
9+
//
10+
1111

1212
#ifndef BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
1313
#define BOOST_ASSIGN_ASSIGNMENT_EXCEPTION_HPP
@@ -20,13 +20,13 @@
2020
#endif
2121

2222
namespace boost
23-
{
23+
{
2424
namespace assign
2525
{
2626
class assignment_exception : public std::exception
2727
{
2828
public:
29-
assignment_exception( const char* _what )
29+
assignment_exception( const char* _what )
3030
: what_( _what )
3131
{ }
3232

include/boost/assign/list_inserter.hpp

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ namespace assign_detail
4848
repeater( std::size_t sz_, T r ) : sz( sz_ ), val( r )
4949
{ }
5050
};
51-
51+
5252
template< class Fun >
5353
struct fun_repeater
5454
{
5555
std::size_t sz;
5656
Fun val;
57-
57+
5858
fun_repeater( std::size_t sz_, Fun r ) : sz( sz_ ), val( r )
5959
{ }
6060
};
@@ -77,10 +77,10 @@ namespace assign_detail
7777
public:
7878
call_push_back( C& c ) : c_( c )
7979
{ }
80-
80+
8181
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
8282
template< class T >
83-
void operator()( T r )
83+
void operator()( T r )
8484
{
8585
c_.push_back( r );
8686
}
@@ -92,7 +92,7 @@ namespace assign_detail
9292
}
9393
#endif
9494
};
95-
95+
9696
template< class C >
9797
class call_push_front
9898
{
@@ -103,7 +103,7 @@ namespace assign_detail
103103

104104
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
105105
template< class T >
106-
void operator()( T r )
106+
void operator()( T r )
107107
{
108108
c_.push_front( r );
109109
}
@@ -115,18 +115,18 @@ namespace assign_detail
115115
}
116116
#endif
117117
};
118-
118+
119119
template< class C >
120120
class call_push
121121
{
122122
C& c_;
123123
public:
124124
call_push( C& c ) : c_( c )
125125
{ }
126-
126+
127127
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
128128
template< class T >
129-
void operator()( T r )
129+
void operator()( T r )
130130
{
131131
c_.push( r );
132132
}
@@ -138,7 +138,7 @@ namespace assign_detail
138138
}
139139
#endif
140140
};
141-
141+
142142
template< class C >
143143
class call_insert
144144
{
@@ -149,7 +149,7 @@ namespace assign_detail
149149

150150
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
151151
template< class T >
152-
void operator()( T r )
152+
void operator()( T r )
153153
{
154154
c_.insert( r );
155155
}
@@ -183,9 +183,9 @@ namespace assign_detail
183183
}
184184

185185
};
186-
186+
187187
struct forward_n_arguments {};
188-
188+
189189
} // namespace 'assign_detail'
190190

191191
namespace assign
@@ -197,16 +197,16 @@ namespace assign
197197
{
198198
return assign_detail::repeater<T>( sz, r );
199199
}
200-
200+
201201
template< class Function >
202202
inline assign_detail::fun_repeater<Function>
203203
repeat_fun( std::size_t sz, Function r )
204204
{
205205
return assign_detail::fun_repeater<Function>( sz, r );
206206
}
207-
208207

209-
template< class Function, class Argument = assign_detail::forward_n_arguments >
208+
209+
template< class Function, class Argument = assign_detail::forward_n_arguments >
210210
class list_inserter
211211
{
212212
struct single_arg_type {};
@@ -216,16 +216,16 @@ namespace assign
216216
typedef BOOST_DEDUCED_TYPENAME ::boost::conditional<
217217
is_same<Argument,assign_detail::forward_n_arguments>::value,
218218
n_arg_type,
219-
single_arg_type >::type arg_type;
220-
219+
single_arg_type >::type arg_type;
220+
221221
public:
222-
222+
223223
list_inserter( Function fun ) : insert_( fun )
224224
{}
225-
225+
226226
template< class Function2, class Arg >
227-
list_inserter( const list_inserter<Function2,Arg>& r )
228-
: insert_( r.fun_private() )
227+
list_inserter( const list_inserter<Function2,Arg>& r )
228+
: insert_( r.fun_private() )
229229
{}
230230

231231
list_inserter( const list_inserter& r ) : insert_( r.insert_ )
@@ -250,13 +250,13 @@ namespace assign
250250
{
251251
return operator,( r );
252252
}
253-
253+
254254
template< class Nullary_function >
255255
list_inserter& operator=( const assign_detail::fun_repeater<Nullary_function>& r )
256256
{
257257
return operator,( r );
258258
}
259-
259+
260260
template< class T >
261261
list_inserter& operator,( const T& r )
262262
{
@@ -268,20 +268,20 @@ namespace assign
268268
template< class T >
269269
list_inserter& operator,( const assign_detail::repeater<T> & r )
270270
{
271-
return repeat( r.sz, r.val );
271+
return repeat( r.sz, r.val );
272272
}
273273
#else
274274
template< class T >
275275
list_inserter& operator,( assign_detail::repeater<T> r )
276276
{
277-
return repeat( r.sz, r.val );
277+
return repeat( r.sz, r.val );
278278
}
279279
#endif
280-
280+
281281
template< class Nullary_function >
282282
list_inserter& operator,( const assign_detail::fun_repeater<Nullary_function>& r )
283283
{
284-
return repeat_fun( r.sz, r.val );
284+
return repeat_fun( r.sz, r.val );
285285
}
286286
#else
287287
// BOOST_NO_CXX11_RVALUE_REFERENCES
@@ -326,7 +326,7 @@ namespace assign
326326
insert_( r );
327327
return *this;
328328
}
329-
329+
330330
template< class Nullary_function >
331331
list_inserter& repeat_fun( std::size_t sz, Nullary_function fun )
332332
{
@@ -337,20 +337,20 @@ namespace assign
337337
}
338338

339339
template< class SinglePassIterator >
340-
list_inserter& range( SinglePassIterator first,
340+
list_inserter& range( SinglePassIterator first,
341341
SinglePassIterator last )
342342
{
343343
for( ; first != last; ++first )
344344
insert_( *first );
345345
return *this;
346346
}
347-
347+
348348
template< class SinglePassRange >
349349
list_inserter& range( const SinglePassRange& r )
350350
{
351351
return range( boost::begin(r), boost::end(r) );
352352
}
353-
353+
354354
#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
355355
template< class T >
356356
list_inserter& operator()( const T& t )
@@ -360,13 +360,13 @@ namespace assign
360360
}
361361

362362
#ifndef BOOST_ASSIGN_MAX_PARAMS // use user's value
363-
#define BOOST_ASSIGN_MAX_PARAMS 5
363+
#define BOOST_ASSIGN_MAX_PARAMS 5
364364
#endif
365365
#define BOOST_ASSIGN_MAX_PARAMETERS (BOOST_ASSIGN_MAX_PARAMS - 1)
366366
#define BOOST_ASSIGN_PARAMS1(n) BOOST_PP_ENUM_PARAMS(n, class T)
367367
#define BOOST_ASSIGN_PARAMS2(n) BOOST_PP_ENUM_BINARY_PARAMS(n, T, const& t)
368368
#define BOOST_ASSIGN_PARAMS3(n) BOOST_PP_ENUM_PARAMS(n, t)
369-
369+
370370
#define BOOST_PP_LOCAL_LIMITS (1, BOOST_ASSIGN_MAX_PARAMETERS)
371371
#define BOOST_PP_LOCAL_MACRO(n) \
372372
template< class T, BOOST_ASSIGN_PARAMS1(n) > \
@@ -378,7 +378,7 @@ namespace assign
378378
/**/
379379

380380
#include BOOST_PP_LOCAL_ITERATE()
381-
381+
382382

383383
#define BOOST_PP_LOCAL_LIMITS (1, BOOST_ASSIGN_MAX_PARAMETERS)
384384
#define BOOST_PP_LOCAL_MACRO(n) \
@@ -388,7 +388,7 @@ namespace assign
388388
insert_( Argument(t, BOOST_ASSIGN_PARAMS3(n) )); \
389389
} \
390390
/**/
391-
391+
392392
#include BOOST_PP_LOCAL_ITERATE()
393393

394394
#define BOOST_PP_LOCAL_LIMITS (1, BOOST_ASSIGN_MAX_PARAMETERS)
@@ -399,7 +399,7 @@ namespace assign
399399
insert_(t, BOOST_ASSIGN_PARAMS3(n) ); \
400400
} \
401401
/**/
402-
402+
403403
#include BOOST_PP_LOCAL_ITERATE()
404404

405405
#else
@@ -474,18 +474,18 @@ namespace assign
474474
}
475475

476476
private:
477-
477+
478478
list_inserter& operator=( const list_inserter& );
479479
Function insert_;
480480
};
481-
481+
482482
template< class Function >
483483
inline list_inserter< Function >
484484
make_list_inserter( Function fun )
485485
{
486486
return list_inserter< Function >( fun );
487487
}
488-
488+
489489
template< class Function, class Argument >
490490
inline list_inserter<Function,Argument>
491491
make_list_inserter( Function fun, Argument* )
@@ -494,15 +494,15 @@ namespace assign
494494
}
495495

496496
template< class C >
497-
inline list_inserter< assign_detail::call_push_back<C>,
497+
inline list_inserter< assign_detail::call_push_back<C>,
498498
BOOST_DEDUCED_TYPENAME C::value_type >
499499
push_back( C& c )
500500
{
501501
static BOOST_DEDUCED_TYPENAME C::value_type* p = 0;
502-
return make_list_inserter( assign_detail::call_push_back<C>( c ),
502+
return make_list_inserter( assign_detail::call_push_back<C>( c ),
503503
p );
504504
}
505-
505+
506506
template< class C >
507507
inline list_inserter< assign_detail::call_push_front<C>,
508508
BOOST_DEDUCED_TYPENAME C::value_type >
@@ -514,7 +514,7 @@ namespace assign
514514
}
515515

516516
template< class C >
517-
inline list_inserter< assign_detail::call_insert<C>,
517+
inline list_inserter< assign_detail::call_insert<C>,
518518
BOOST_DEDUCED_TYPENAME C::value_type >
519519
insert( C& c )
520520
{
@@ -524,7 +524,7 @@ namespace assign
524524
}
525525

526526
template< class C >
527-
inline list_inserter< assign_detail::call_push<C>,
527+
inline list_inserter< assign_detail::call_push<C>,
528528
BOOST_DEDUCED_TYPENAME C::value_type >
529529
push( C& c )
530530
{
@@ -535,11 +535,11 @@ namespace assign
535535

536536
template< class C >
537537
inline list_inserter< assign_detail::call_add_edge<C> >
538-
add_edge( C& c )
538+
add_edge( C& c )
539539
{
540540
return make_list_inserter( assign_detail::call_add_edge<C>( c ) );
541541
}
542-
542+
543543
} // namespace 'assign'
544544
} // namespace 'boost'
545545

0 commit comments

Comments
 (0)