I have a class named client inside an header file and all the declaration and definition are inside the header. Now I need to separate this class in to source and header, but I am doubt about the constructor
class client{
public:
client(boost::asio::io_service& io_service)
: stopped_(false),
socket_(io_service),
deadline_(io_service)
{
stream_buff = TPCircularBufferInit(stream_buff);
}
};
How can I implement this on source file. like,
client::client(boost::asio::io_service& io_service){
? // what could be here
? // what could be here
}