Skip to content

Commit dd8af4d

Browse files
committed
Remove stray space from reference_wrapper's "public:"
1 parent 98b491c commit dd8af4d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

source/future.tex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@
13961396
};
13971397

13981398
template <class T> class reference_wrapper {
1399-
public :
1399+
public:
14001400
using result_type = @\seebelow@; // not always defined
14011401
using argument_type = @\seebelow@; // not always defined
14021402
using first_argument_type = @\seebelow@; // not always defined
@@ -1514,14 +1514,12 @@
15141514
using result_type = T;
15151515
};
15161516

1517-
template<class R, class T1>
1518-
class function<R(T1)> {
1517+
template<class R, class T1> class function<R(T1)> {
15191518
public:
15201519
using argument_type = T1;
15211520
};
15221521

1523-
template<class R, class T1, class T2>
1524-
class function<R(T1, T2)> {
1522+
template<class R, class T1, class T2> class function<R(T1, T2)> {
15251523
public:
15261524
using first_argument_type = T1;
15271525
using second_argument_type = T2;

source/utilities.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13182,13 +13182,13 @@
1318213182
\begin{codeblock}
1318313183
namespace std {
1318413184
template <class T> class reference_wrapper {
13185-
public :
13185+
public:
1318613186
// types
1318713187
using type = T;
1318813188

1318913189
// construct/copy/destroy
1319013190
reference_wrapper(T&) noexcept;
13191-
reference_wrapper(T&&) = delete; // do not bind to temporary objects
13191+
reference_wrapper(T&&) = delete; // do not bind to temporary objects
1319213192
reference_wrapper(const reference_wrapper& x) noexcept;
1319313193

1319413194
// assignment
@@ -13200,8 +13200,7 @@
1320013200

1320113201
// invocation
1320213202
template <class... ArgTypes>
13203-
invoke_result_t<T&, ArgTypes...>
13204-
operator() (ArgTypes&&...) const;
13203+
invoke_result_t<T&, ArgTypes...> operator()(ArgTypes&&...) const;
1320513204
};
1320613205

1320713206
template<class T>

0 commit comments

Comments
 (0)