문제

I am trying to create a vector of sslstreams using the following code

std::vector<boost::asio::ssl::stream<boost::asio::ip::tcp::socket> vecStreams;

I am receiving two errors

template argument 1 is invalid template argument 2 is invalid

I am just a beginner so go easy on me if this is a simple problem. Thanks.

도움이 되었습니까?

해결책

You're missing a > at the end:

std::vector<boost::asio::ssl::stream<boost::asio::ip::tcp::socket> > vecStreams;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top