cppx-core
Namespaces | Typedefs | Functions
byte-types.hpp File Reference

Byte and Signed_byte, + std::byte support definitions as_number and as_std_byte. More...

#include <cppx-core/language/syntax/macro-use.hpp>
#include <c/stddef.hpp>
Include dependency graph for byte-types.hpp:

Go to the source code of this file.

Namespaces

 cppx
 
 cppx::byte_types
 Byte, Signed_byte, as_number, as_std_byte
 
 cppx::cpp17
 

Typedefs

using cppx::Byte = unsigned char
 Default choice of byte type. More...
 
using cppx::Signed_byte = signed char
 

Functions

auto cppx::as_number (const std::byte value) -> Byte
 
auto cppx::as_std_byte (const Byte value) -> std::byte
 
 cppx::byte_types::CPPX_USE_CPPX (Byte, Signed_byte, as_number, as_std_byte)
 
 cppx::cpp17::CPPX_USE_STD (byte, to_integer)
 

Detailed Description

Byte and Signed_byte, + std::byte support definitions as_number and as_std_byte.

See also
The <cppx-core/language/bits_per_.hpp> header defines general bit size functionality, including bits_per_byte.

Definition in file byte-types.hpp.