You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
Hi. I think it is better to use __cplusplus and _MSVC_LANG together in MSVC environment.
(This is only available in Visual Studio 2015 or later, but _MSVC_LANG returns the correct value in the standard configuration.
Hi. I recently realized that MSVC always sets
__cplusplus
to199711L
unless/Zc:__cplusplus
is enabled:https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-160&viewFallbackFrom=vs-2017
Since you use this macro in your code, I figured I should ask whether it matters in terms of performance:
robin-hood-hashing/src/include/robin_hood.h
Line 51 in 9dbc277
robin-hood-hashing/src/include/robin_hood.h
Line 216 in 9dbc277
For now I just replaced the macro with a custom macro I wrote myself so that it uses the latest compiler features.
The text was updated successfully, but these errors were encountered: