We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 579b2fd commit af53f8eCopy full SHA for af53f8e
1 file changed
include/nonstd/scope.hpp
@@ -249,7 +249,8 @@ namespace nonstd
249
#define scope_HAVE_IS_NOTHROW_ASSIGNABLE scope_CPP11_110
250
#define scope_HAVE_IS_NOTHROW_MOVE_ASSIGNABLE scope_CPP11_110
251
252
-#define scope_HAVE_REFERENCE_WRAPPER scope_CPP11_110
+#define scope_HAVE_FUNCATIONAL scope_CPP11_110
253
+#define scope_HAVE_REFERENCE_WRAPPER scope_HAVE_FUNCATIONAL
254
255
#define scope_HAVE_REMOVE_CV scope_CPP11_90
256
#define scope_HAVE_REMOVE_REFERENCE scope_CPP11_90
@@ -329,6 +330,10 @@ namespace nonstd
329
330
#include <limits> // std::numeric_limits<>
331
#include <utility> // move(), forward<>(), swap()
332
333
+#if scope_HAVE_FUNCATIONAL
334
+# include <functional>
335
+#endif
336
+
337
#if scope_HAVE_TYPE_TRAITS
338
# include <type_traits>
339
#elif scope_HAVE_TR1_TYPE_TRAITS
0 commit comments