This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/asio.hpp> | |
#include <boost/beast/websocket.hpp> | |
#include <boost/beast/core.hpp> | |
//#include <zmq.hpp> | |
using namespace std::chrono_literals; | |
const std::size_t WSClientSendFrameSize = 8*1024; //128*1024; | |
//zmq::context_t zmqCtx; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
// blank template class | |
template<typename T> | |
class Holder { }; | |
// specialized one with call signature | |
template<typename RetType, typename... ArgsType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <memory> | |
using namespace std; | |
// blank template class | |
template<typename T> | |
class Holder { }; | |
// specialized one with call signature |