File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1396
1396
};
1397
1397
1398
1398
template <class T> class reference_wrapper {
1399
- public :
1399
+ public:
1400
1400
using result_type = @\seebelow@ ; // not always defined
1401
1401
using argument_type = @\seebelow@ ; // not always defined
1402
1402
using first_argument_type = @\seebelow@ ; // not always defined
1514
1514
using result_type = T;
1515
1515
};
1516
1516
1517
- template<class R, class T1>
1518
- class function<R(T1)> {
1517
+ template<class R, class T1> class function<R(T1)> {
1519
1518
public:
1520
1519
using argument_type = T1;
1521
1520
};
1522
1521
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)> {
1525
1523
public:
1526
1524
using first_argument_type = T1;
1527
1525
using second_argument_type = T2;
Original file line number Diff line number Diff line change @@ -13182,13 +13182,13 @@
13182
13182
\begin{codeblock}
13183
13183
namespace std {
13184
13184
template <class T> class reference_wrapper {
13185
- public :
13185
+ public:
13186
13186
// types
13187
13187
using type = T;
13188
13188
13189
13189
// construct/copy/destroy
13190
13190
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
13192
13192
reference_wrapper(const reference_wrapper& x) noexcept;
13193
13193
13194
13194
// assignment
13200
13200
13201
13201
// invocation
13202
13202
template <class... ArgTypes>
13203
- invoke_result_t<T&, ArgTypes...>
13204
- operator() (ArgTypes&&...) const;
13203
+ invoke_result_t<T&, ArgTypes...> operator()(ArgTypes&&...) const;
13205
13204
};
13206
13205
13207
13206
template<class T>
You can’t perform that action at this time.
0 commit comments