xtd 0.2.0
Loading...
Searching...
No Matches
string.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../string.hpp"
6#define __XTD_CORE_INTERNAL__
8#undef __XTD_CORE_INTERNAL__
9
11namespace xtd {
13 inline namespace literals {
15
28 [[nodiscard]] auto operator""_s(const char* s, xtd::size n) -> xtd::string;
29
41 [[nodiscard]] auto operator""_s(const char8* s, xtd::size n) -> xtd::string;
42
54 [[nodiscard]] auto operator""_s(const char16* s, xtd::size n) -> xtd::string;
55
67 [[nodiscard]] auto operator""_s(const char32* s, xtd::size n) -> xtd::string;
68
80 [[nodiscard]] auto operator""_s(const wchar* s, xtd::size n) -> xtd::string;
81
93 [[nodiscard]] auto operator""_sb(long double s) -> xtd::string;
94
106 [[nodiscard]] auto operator""_sb(unsigned long long s) -> xtd::string;
107
119 [[nodiscard]] auto operator""_sb2(long double s) -> xtd::string;
120
132 [[nodiscard]] auto operator""_sb2(unsigned long long s) -> xtd::string;
133
145 [[nodiscard]] auto operator""_sb4(long double s) -> xtd::string;
146
158 [[nodiscard]] auto operator""_sb4(unsigned long long s) -> xtd::string;
159
171 [[nodiscard]] auto operator""_sb8(long double s) -> xtd::string;
172
184 [[nodiscard]] auto operator""_sb8(unsigned long long s) -> xtd::string;
185
197 [[nodiscard]] auto operator""_sb16(long double s) -> xtd::string;
198
210 [[nodiscard]] auto operator""_sb16(unsigned long long s) -> xtd::string;
211
223 [[nodiscard]] auto operator""_sb32(long double s) -> xtd::string;
224
236 [[nodiscard]] auto operator""_sb32(unsigned long long s) -> xtd::string;
237
249 [[nodiscard]] auto operator""_sb64(long double s) -> xtd::string;
250
262 [[nodiscard]] auto operator""_sb64(unsigned long long s) -> xtd::string;
263
275 [[nodiscard]] auto operator""_sd(long double s) -> xtd::string;
276
288 [[nodiscard]] auto operator""_sd(unsigned long long s) -> xtd::string;
289
301 [[nodiscard]] auto operator""_sx(long double s) -> xtd::string;
302
314 [[nodiscard]] auto operator""_sx(unsigned long long s) -> xtd::string;
315
327 [[nodiscard]] auto operator""_sx2(unsigned long long s) -> xtd::string;
328
340 [[nodiscard]] auto operator""_sx4(unsigned long long s) -> xtd::string;
341
353 [[nodiscard]] auto operator""_sx8(unsigned long long s) -> xtd::string;
354
366 [[nodiscard]] auto operator""_sx16(unsigned long long s) -> xtd::string;
367
379 [[nodiscard]] auto operator""_sX(long double s) -> xtd::string;
380
392 [[nodiscard]] auto operator""_sX(unsigned long long s) -> xtd::string;
393
405 [[nodiscard]] auto operator""_sX2(unsigned long long s) -> xtd::string;
406
418 [[nodiscard]] auto operator""_sX4(unsigned long long s) -> xtd::string;
419
431 [[nodiscard]] auto operator""_sX8(unsigned long long s) -> xtd::string;
432
444 [[nodiscard]] auto operator""_sX16(unsigned long long s) -> xtd::string;
446 }
447}
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:26
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
char32_t char32
Represents a 32-bit unicode character.
Definition char32.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::string alias.