asyncplusplus
asyncplusplus copied to clipboard
about c++20
#46
In MSVC, the __cplusplus macro cannot be used directly. You need to manually add the /Zc:__cplusplus option, otherwise, __cplusplus will always be 199711L. I found the method used by the ASIO library for this: