xtd 0.2.0
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 xtd::string operator""_s(const char* s, xtd::size n);
29
41 xtd::string operator""_s(const char8* s, xtd::size n);
42
54 xtd::string operator""_s(const char16* s, xtd::size n);
55
67 xtd::string operator""_s(const char32* s, xtd::size n);
68
80 xtd::string operator""_s(const wchar* s, xtd::size n);
81
93 xtd::string operator""_sb(long double s);
94
106 xtd::string operator""_sb(unsigned long long s);
107
119 xtd::string operator""_sb2( long double s);
120
132 xtd::string operator""_sb2(unsigned long long s);
133
145 xtd::string operator""_sb4(long double s);
146
158 xtd::string operator""_sb4(unsigned long long s);
159
171 xtd::string operator""_sb8(long double s);
172
184 xtd::string operator""_sb8(unsigned long long s);
185
197 xtd::string operator""_sb16(long double s);
198
210 xtd::string operator""_sb16(unsigned long long s);
211
223 xtd::string operator""_sb32(long double s);
224
236 xtd::string operator""_sb32(unsigned long long s);
237
249 xtd::string operator""_sb64(long double s);
250
262 xtd::string operator""_sb64(unsigned long long s);
263
275 xtd::string operator""_sd(long double s);
276
288 xtd::string operator""_sd(unsigned long long s);
289
301 xtd::string operator""_sx(long double s);
302
314 xtd::string operator""_sx(unsigned long long s);
315
327 xtd::string operator""_sx2(unsigned long long s);
328
340 xtd::string operator""_sx4(unsigned long long s);
341
353 xtd::string operator""_sx8(unsigned long long s);
354
366 xtd::string operator""_sx16(unsigned long long s);
367
379 xtd::string operator""_sX(long double s);
380
392 xtd::string operator""_sX(unsigned long long s);
393
405 xtd::string operator""_sX2(unsigned long long s);
406
418 xtd::string operator""_sX4(unsigned long long s);
419
431 xtd::string operator""_sX8(unsigned long long s);
432
444 xtd::string operator""_sX16(unsigned long long s);
446 }
447}
Contains string definitions.
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 character_literals.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::string alias.