File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ struct nil {};
113
113
*/
114
114
struct functor_base {};
115
115
116
- /** Helper macro , to determine if decltype() can deduce the result type of a functor.
116
+ /** Helper class , to determine if decltype() can deduce the result type of a functor.
117
117
*
118
118
* @ingroup sigcfunctors
119
119
*/
@@ -129,17 +129,17 @@ private:
129
129
int memory4;
130
130
};
131
131
132
- static biggerthanint check (...);
132
+ static biggerthanint checksize (...);
133
133
134
- // If decltype(&X_functor::operator()) can't be evaluated, this check () overload
134
+ // If decltype(&X_functor::operator()) can't be evaluated, this checksize () overload
135
135
// is ignored because of the SFINAE rule (Substitution Failure Is Not An Error).
136
136
template <typename X_functor>
137
- static int check (X_functor* obj, decltype(&X_functor::operator()) p = nullptr);
137
+ static int checksize (X_functor* obj, decltype(&X_functor::operator()) p = nullptr);
138
138
139
139
public:
140
140
static const bool value
141
141
# ifndef DOXYGEN_SHOULD_SKIP_THIS
142
- = sizeof(check (static_cast<T_functor*>(nullptr))) == sizeof(int)
142
+ = sizeof(checksize (static_cast<T_functor*>(nullptr))) == sizeof(int)
143
143
# endif
144
144
;
145
145
};
You can’t perform that action at this time.
0 commit comments