Skip to content

<yvals_core.h>: Remove _HAS_STD_BYTE someday #204

@StephanTLavavej

Description

@StephanTLavavej

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

#ifndef _HAS_STD_BYTE
#define _HAS_STD_BYTE _HAS_CXX17 // inspected by GSL, do not remove
#endif // _HAS_STD_BYTE

Also, I created microsoft/GSL#1145 so that GSL will no longer inspect _HAS_STD_BYTE at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedSomething is preventing work on thisenhancementSomething can be improved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions