[ASIO] 1.70.0 async_read_until reports undefined symbol with MSVS 2010
The following test code (inside #if 1) generates a LNK2019 (unresolved
external symbol) with 1.70.0 but links successfully with 1.69.0. Inspecting
read_until.hpp, I suspect the problem is with the enable_if expansion being
too complex for the older compiler. (Hence the #if0 code which tests the
individual conditions, but those seem to work fine.) The same code links
with VS2019 and VS2015, and this linked under the previous Boost with
VS2010.
int _tmain(int argc, _TCHAR* argv[])
{
typedef boost::asio::streambuf buftype;
#if 0
const bool v1 = boost::asio::is_dynamic_buffer_v1
participants (1)
-
Kenneth Porter