cppx-core
Functions
cppx::cpp17 Namespace Reference

Functions

 CPPX_USE_STD (byte, to_integer)
 

Function Documentation

◆ CPPX_USE_STD()

cppx::cpp17::CPPX_USE_STD ( byte  ,
to_integer   
)

Defines cpp17::byte as an alias for the C++17 std::byte, useful in some contexts. The std::byte type is not a character type, so it will not be presented as a character when output to an iostream. To output it as a number use std::to_integer, or cppx::as_number.