|
Boost : |
Subject: [boost] No Viable function warning
From: randydom (randydom_at_[hidden])
Date: 2018-07-09 09:07:48
Hello i've the bellow function :
__declspec(dllexport) int TrySendData(_isocket * isocket,char * ibuff,int
ilen)
{
boost::system::error_code ignored_error;
boost::asio::write(isocket->socket(), boost::asio::buffer(ibuff,ilen),
boost::asio::transfer_all(), ignored_error);
if(ignored_error)
return 0;
return 1;
}
I get a *No Viable function* warning , can someone tells me why or helps me
in fixing this warning .
Thank you .
-- Sent from: http://boost.2283326.n4.nabble.com/Boost-Dev-f2600599.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk