asyncplusplus icon indicating copy to clipboard operation
asyncplusplus copied to clipboard

about c++20

Open kahotv opened this issue 1 year ago • 0 comments

#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:

Image

kahotv avatar Feb 11 '25 07:02 kahotv