xtd 0.2.0
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 xtd::byte operator""_b(long double n);
29
40 xtd::byte operator""_b(unsigned long long n);
41
52 xtd::byte operator""_b(const char* s, std::size_t n);
53
64 xtd::byte operator""_b(const char8_t* s, std::size_t n);
65
76 xtd::byte operator""_b(const char16_t* s, std::size_t n);
77
88 xtd::byte operator""_b(const char32_t* s, std::size_t n);
89
100 xtd::byte operator""_b(const wchar_t* s, std::size_t n);
101
112 xtd::byte operator""_u8(long double n);
113
124 xtd::byte operator""_u8(unsigned long long n);
125
136 xtd::byte operator""_u8(const char* s, std::size_t n);
137
148 xtd::byte operator""_u8(const char8_t* s, std::size_t n);
149
160 xtd::byte operator""_u8(const char16_t* s, std::size_t n);
161
172 xtd::byte operator""_u8(const char32_t* s, std::size_t n);
173
184 xtd::byte operator""_u8(const wchar_t* s, std::size_t n);
186 }
187}
Contains __xtd_std_version definitions.
Contains xtd::byte type.
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 character_literals.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8