28#ifndef WEBSOCKETPP_COMMON_FUNCTIONAL_HPP
29#define WEBSOCKETPP_COMMON_FUNCTIONAL_HPP
36#if defined _WEBSOCKETPP_CPP11_INTERNAL_ && !defined _WEBSOCKETPP_NO_CPP11_FUNCTIONAL_
37 #ifndef _WEBSOCKETPP_CPP11_FUNCTIONAL_
38 #define _WEBSOCKETPP_CPP11_FUNCTIONAL_
44#if defined(_MSC_VER) && _MSC_VER >= 1600 && !defined _WEBSOCKETPP_NO_CPP11_FUNCTIONAL_
45 #ifndef _WEBSOCKETPP_CPP11_FUNCTIONAL_
46 #define _WEBSOCKETPP_CPP11_FUNCTIONAL_
52#ifdef _WEBSOCKETPP_CPP11_FUNCTIONAL_
55 #include <boost/bind.hpp>
56 #include <boost/function.hpp>
57 #include <boost/ref.hpp>
65#ifdef _WEBSOCKETPP_CPP11_FUNCTIONAL_
69 namespace placeholders = std::placeholders;
76 #define _WEBSOCKETPP_REF(x) x
83 using boost::function;
86 namespace placeholders {
94 #define _WEBSOCKETPP_REF(x) boost::ref(x)
void clear_function(T &x)
Namespace for the WebSocket++ project.
#define T(meth, val, expected)