diff options
Diffstat (limited to 'std/function.hpp')
-rw-r--r-- | std/function.hpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/std/function.hpp b/std/function.hpp index 924b3a7b07..ca461298d5 100644 --- a/std/function.hpp +++ b/std/function.hpp @@ -5,8 +5,17 @@ #undef new #endif -#include <boost/function.hpp> -using boost::function; +#if __cplusplus > 199711L + + #include <functional> + using std::function; + +#else + + #include <boost/function.hpp> + using boost::function; + +#endif #ifdef DEBUG_NEW #define new DEBUG_NEW |