New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<yvals_core.h>: Remove _HAS_STD_BYTE someday #204
Comments
gsl_byte now inspects __cpp_lib_byte, this should unblock you. |
Great, thank you! We’re still blocked on the WinSDK needing this as an escape hatch, but your quick fix to GSL means that there will be plenty of time for users to update their dependencies. |
Microsoft-internal WinSDK issue: OS-11785508 "Make Windows headers compatible with C++17 |
Out of curriosity can this be closed now that the |
OS-11785508 hasn't been addressed yet. |
@StephanTLavavej Was support for std::byte removed in VS2019 16.8? It looks like __cpp_lib_byte isn't defined. |
We define it unless someone explicitly disables Lines 1115 to 1117 in 9959929
|
And you have to be compiling in |
Is this issue fixed, if not, Is there an ETA for fix? |
No ETA; the Microsoft-internal WinSDK issue OS-11785508 "Make Windows headers compatible with C++17 I'm not sure how many unqualified mentions of |
After microsoft/GSL#821 "
gsl_byte
should inspect__cpp_lib_byte
in addition to_HAS_STD_BYTE
" is fixed,_HAS_STD_BYTE
should no longer be needed for detection.After the Windows SDK's unqualified mentions of
byte
(referring to their own::byte
) are fixed,_HAS_STD_BYTE
should no longer be needed for control.Then we can finally remove:
STL/stl/inc/yvals_core.h
Lines 475 to 477 in 447f879
Also, I created microsoft/GSL#1145 so that GSL will no longer inspect
_HAS_STD_BYTE
at all.The text was updated successfully, but these errors were encountered: