Skip to content

Commit 8f523d3

Browse files
committed
Merge pull request #577 from tkoeppe/space
Whitespace fixes around punctuators (library)
2 parents 9ff5696 + 439e6dd commit 8f523d3

File tree

3 files changed

+108
-108
lines changed

3 files changed

+108
-108
lines changed

source/containers.tex

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,9 +2440,9 @@
24402440
template <class T> class tuple_size;
24412441
template <size_t I, class T> class tuple_element;
24422442
template <class T, size_t N>
2443-
struct tuple_size<array<T, N> >;
2443+
struct tuple_size<array<T, N>>;
24442444
template <size_t I, class T, size_t N>
2445-
struct tuple_element<I, array<T, N> >;
2445+
struct tuple_element<I, array<T, N>>;
24462446
template <size_t I, class T, size_t N>
24472447
constexpr T& get(array<T, N>&) noexcept;
24482448
template <size_t I, class T, size_t N>
@@ -2463,7 +2463,7 @@
24632463

24642464
namespace std {
24652465
// \ref{deque}, class template deque:
2466-
template <class T, class Allocator = allocator<T> > class deque;
2466+
template <class T, class Allocator = allocator<T>> class deque;
24672467
template <class T, class Allocator>
24682468
bool operator==(const deque<T, Allocator>& x, const deque<T, Allocator>& y);
24692469
template <class T, class Allocator>
@@ -2491,7 +2491,7 @@
24912491

24922492
namespace std {
24932493
// \ref{forwardlist}, class template forward_list:
2494-
template <class T, class Allocator = allocator<T> > class forward_list;
2494+
template <class T, class Allocator = allocator<T>> class forward_list;
24952495
template <class T, class Allocator>
24962496
bool operator==(const forward_list<T, Allocator>& x, const forward_list<T, Allocator>& y);
24972497
template <class T, class Allocator>
@@ -2519,7 +2519,7 @@
25192519

25202520
namespace std {
25212521
// \ref{list}, class template list:
2522-
template <class T, class Allocator = allocator<T> > class list;
2522+
template <class T, class Allocator = allocator<T>> class list;
25232523
template <class T, class Allocator>
25242524
bool operator==(const list<T, Allocator>& x, const list<T, Allocator>& y);
25252525
template <class T, class Allocator>
@@ -2547,7 +2547,7 @@
25472547

25482548
namespace std {
25492549
// \ref{vector}, class template vector:
2550-
template <class T, class Allocator = allocator<T> > class vector;
2550+
template <class T, class Allocator = allocator<T>> class vector;
25512551
template <class T, class Allocator>
25522552
bool operator==(const vector<T, Allocator>& x, const vector<T, Allocator>& y);
25532553
template <class T, class Allocator>
@@ -2569,7 +2569,7 @@
25692569

25702570
// hash support
25712571
template <class T> struct hash;
2572-
template <class Allocator> struct hash<vector<bool, Allocator> >;
2572+
template <class Allocator> struct hash<vector<bool, Allocator>>;
25732573
}
25742574
\end{codeblock}
25752575

@@ -2804,7 +2804,7 @@
28042804

28052805
\indexlibrary{\idxcode{tuple_element}}%
28062806
\begin{itemdecl}
2807-
tuple_element<I, array<T, N> >::type
2807+
tuple_element<I, array<T, N>>::type
28082808
\end{itemdecl}
28092809

28102810
\begin{itemdescr}
@@ -5319,7 +5319,7 @@
53195319
\end{itemdescr}
53205320

53215321
\begin{itemdecl}
5322-
template <class Allocator> struct hash<vector<bool, Allocator> >;
5322+
template <class Allocator> struct hash<vector<bool, Allocator>>;
53235323
\end{itemdecl}
53245324

53255325
\begin{itemdescr}
@@ -5346,7 +5346,7 @@
53465346
namespace std {
53475347
// \ref{map}, class template map:
53485348
template <class Key, class T, class Compare = less<Key>,
5349-
class Allocator = allocator<pair<const Key, T> > >
5349+
class Allocator = allocator<pair<const Key, T>>>
53505350
class map;
53515351
template <class Key, class T, class Compare, class Allocator>
53525352
bool operator==(const map<Key, T, Compare, Allocator>& x,
@@ -5373,7 +5373,7 @@
53735373

53745374
// \ref{multimap}, class template multimap:
53755375
template <class Key, class T, class Compare = less<Key>,
5376-
class Allocator = allocator<pair<const Key, T> > >
5376+
class Allocator = allocator<pair<const Key, T>>>
53775377
class multimap;
53785378
template <class Key, class T, class Compare, class Allocator>
53795379
bool operator==(const multimap<Key, T, Compare, Allocator>& x,
@@ -5409,7 +5409,7 @@
54095409
namespace std {
54105410
// \ref{set}, class template set:
54115411
template <class Key, class Compare = less<Key>,
5412-
class Allocator = allocator<Key> >
5412+
class Allocator = allocator<Key>>
54135413
class set;
54145414
template <class Key, class Compare, class Allocator>
54155415
bool operator==(const set<Key, Compare, Allocator>& x,
@@ -5436,7 +5436,7 @@
54365436

54375437
// \ref{set}, class template multiset:
54385438
template <class Key, class Compare = less<Key>,
5439-
class Allocator = allocator<Key> >
5439+
class Allocator = allocator<Key>>
54405440
class multiset;
54415441
template <class Key, class Compare, class Allocator>
54425442
bool operator==(const multiset<Key, Compare, Allocator>& x,
@@ -6823,15 +6823,15 @@
68236823
class T,
68246824
class Hash = hash<Key>,
68256825
class Pred = std::equal_to<Key>,
6826-
class Alloc = std::allocator<std::pair<const Key, T> > >
6826+
class Alloc = std::allocator<std::pair<const Key, T>>>
68276827
class unordered_map;
68286828

68296829
// \ref{unord.multimap}, class template unordered_multimap:
68306830
template <class Key,
68316831
class T,
68326832
class Hash = hash<Key>,
68336833
class Pred = std::equal_to<Key>,
6834-
class Alloc = std::allocator<std::pair<const Key, T> > >
6834+
class Alloc = std::allocator<std::pair<const Key, T>>>
68356835
class unordered_multimap;
68366836

68376837
template <class Key, class T, class Hash, class Pred, class Alloc>
@@ -6871,14 +6871,14 @@
68716871
template <class Key,
68726872
class Hash = hash<Key>,
68736873
class Pred = std::equal_to<Key>,
6874-
class Alloc = std::allocator<Key> >
6874+
class Alloc = std::allocator<Key>>
68756875
class unordered_set;
68766876

68776877
// \ref{unord.multiset}, class template unordered_multiset:
68786878
template <class Key,
68796879
class Hash = hash<Key>,
68806880
class Pred = std::equal_to<Key>,
6881-
class Alloc = std::allocator<Key> >
6881+
class Alloc = std::allocator<Key>>
68826882
class unordered_multiset;
68836883

68846884
template <class Key, class Hash, class Pred, class Alloc>
@@ -8221,9 +8221,9 @@
82218221
#include <initializer_list>
82228222

82238223
namespace std {
8224-
template <class T, class Container = deque<T> > class queue;
8224+
template <class T, class Container = deque<T>> class queue;
82258225
template <class T, class Container = vector<T>,
8226-
class Compare = less<typename Container::value_type> >
8226+
class Compare = less<typename Container::value_type>>
82278227
class priority_queue;
82288228

82298229
template <class T, class Container>
@@ -8254,7 +8254,7 @@
82548254
#include <initializer_list>
82558255

82568256
namespace std {
8257-
template <class T, class Container = deque<T> > class stack;
8257+
template <class T, class Container = deque<T>> class stack;
82588258
template <class T, class Container>
82598259
bool operator==(const stack<T, Container>& x, const stack<T, Container>& y);
82608260
template <class T, class Container>

source/diagnostics.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,8 +1118,8 @@
11181118
bool operator<(const error_code& lhs, const error_code& rhs) noexcept;
11191119

11201120
template <class charT, class traits>
1121-
basic_ostream<charT,traits>&
1122-
operator<<(basic_ostream<charT,traits>& os, const error_code& ec);
1121+
basic_ostream<charT, traits>&
1122+
operator<<(basic_ostream<charT, traits>& os, const error_code& ec);
11231123
} // namespace std
11241124
\end{codeblock}
11251125

@@ -1300,8 +1300,8 @@
13001300
\indexlibrary{\idxcode{error_code}!\idxcode{operator\shl}}%
13011301
\begin{itemdecl}
13021302
template <class charT, class traits>
1303-
basic_ostream<charT,traits>&
1304-
operator<<(basic_ostream<charT,traits>& os, const error_code& ec);
1303+
basic_ostream<charT, traits>&
1304+
operator<<(basic_ostream<charT, traits>& os, const error_code& ec);
13051305
\end{itemdecl}
13061306

13071307
\begin{itemdescr}
@@ -1332,7 +1332,7 @@
13321332

13331333
// \ref{syserr.errcondition.modifiers} modifiers:
13341334
void assign(int val, const error_category& cat) noexcept;
1335-
template<class ErrorConditionEnum>
1335+
template <class ErrorConditionEnum>
13361336
error_condition& operator=(ErrorConditionEnum e) noexcept;
13371337
void clear() noexcept;
13381338

0 commit comments

Comments
 (0)