Skip to content

about c++20 #62

@kahotv

Description

@kahotv

#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions