xtd 0.2.0
Loading...
Searching...
No Matches
byte.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../byte.hpp"
6#define __XTD_STD_INTERNAL__
8#undef __XTD_STD_INTERNAL__
9#include <cstddef>
10
12namespace xtd {
14 inline namespace literals {
16
28 [[nodiscard]] auto operator""_b(long double n) -> xtd::byte;
29
40 [[nodiscard]] auto operator""_b(unsigned long long n) -> xtd::byte;
41
52 [[nodiscard]] auto operator""_b(const char* s, std::size_t n) -> xtd::byte;
53
64 [[nodiscard]] auto operator""_b(const char8_t* s, std::size_t n) -> xtd::byte;
65
76 [[nodiscard]] auto operator""_b(const char16_t* s, std::size_t n) -> xtd::byte;
77
88 [[nodiscard]] auto operator""_b(const char32_t* s, std::size_t n) -> xtd::byte;
89
100 [[nodiscard]] auto operator""_b(const wchar_t* s, std::size_t n) -> xtd::byte;
101
112 [[nodiscard]] auto operator""_u8(long double n) -> xtd::byte;
113
124 [[nodiscard]] auto operator""_u8(unsigned long long n) -> xtd::byte;
125
136 [[nodiscard]] auto operator""_u8(const char* s, std::size_t n) -> xtd::byte;
137
148 [[nodiscard]] auto operator""_u8(const char8_t* s, std::size_t n) -> xtd::byte;
149
160 [[nodiscard]] auto operator""_u8(const char16_t* s, std::size_t n) -> xtd::byte;
161
172 [[nodiscard]] auto operator""_u8(const char32_t* s, std::size_t n) -> xtd::byte;
173
184 [[nodiscard]] auto operator""_u8(const wchar_t* s, std::size_t n) -> xtd::byte;
186 }
187}
Contains xtd::byte type.
std::uint8_t byte
Represents a 8-bit unsigned integer.
Definition byte.hpp:23
@ s
The S key.
Definition console_key.hpp:124
@ n
The N key.
Definition console_key.hpp:114
The xtd::literals namespace contains all xtd's litterals operators.
Definition byte.hpp:14
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8