xtd 0.2.0
Loading...
Searching...
No Matches
uint16.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <cstddef>
6#include "../uint16.hpp"
7#define __XTD_STD_INTERNAL__
9#undef __XTD_STD_INTERNAL__
10
12namespace xtd {
14 inline namespace literals {
16
28 [[nodiscard]] auto operator""_u16(long double n) -> xtd::uint16;
29
40 [[nodiscard]] auto operator""_u16(unsigned long long n) -> xtd::uint16;
41
52 [[nodiscard]] auto operator""_u16(const char* s, std::size_t n) -> xtd::uint16;
53
64 [[nodiscard]] auto operator""_u16(const char8_t* s, std::size_t n) -> xtd::uint16;
65
76 [[nodiscard]] auto operator""_u16(const char16_t* s, std::size_t n) -> xtd::uint16;
77
88 [[nodiscard]] auto operator""_u16(const char32_t* s, std::size_t n) -> xtd::uint16;
89
100 [[nodiscard]] auto operator""_u16(const wchar_t* s, std::size_t n) -> xtd::uint16;
102 }
103}
std::uint16_t uint16
Represents a 16-bit unsigned integer.
Definition uint16.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
Contains xtd::uint16 type.