xtd 0.2.0
literals

Definition

Literals can be used to produce integer, float, character, duration and string types.

Character suffixes

char32 xtd::literals::operator""_c (unsigned long long c)
 Used to convert specified value into char32.
 
char32 xtd::literals::operator""_c (char c)
 Used to convert specified value into char32.
 
char32 xtd::literals::operator""_c (char8 c)
 Used to convert specified value into char32.
 
char32 xtd::literals::operator""_c (char16 c)
 Used to convert specified value into char32.
 
char32 xtd::literals::operator""_c (char32 c)
 Used to convert specified value into char32.
 
char32 xtd::literals::operator""_c (wchar c)
 Used to convert specified value into char32.
 

Byte suffixes

xtd::byte xtd::literals::operator""_b (long double n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (unsigned long long n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const wchar_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (long double n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (unsigned long long n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint16.
 

Double suffixes

double xtd::literals::operator""_d (long double n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (unsigned long long n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const wchar_t *s, std::size_t n)
 Used to convert specified value into byte.
 

Guid suffixes

xtd::guid xtd::literals::operator""_guid (const char *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid xtd::literals::operator""_guid (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid xtd::literals::operator""_guid (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid xtd::literals::operator""_guid (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 
xtd::guid xtd::literals::operator""_guid (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::guid.
 

Int16 suffixes

int16 xtd::literals::operator""_i16 (long double n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (unsigned long long n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char8_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char16_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char32_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (long double n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (unsigned long long n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char8_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char16_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char32_t *s, std::size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int16.
 

Int32 suffixes

int32 xtd::literals::operator""_i32 (long double n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (unsigned long long n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char8_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char16_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char32_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (long double n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (unsigned long long n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char8_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char16_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char32_t *s, std::size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int32.
 

Int64 suffixes

int64 xtd::literals::operator""_i64 (long double n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (unsigned long long n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char8_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char16_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char32_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (long double n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (unsigned long long n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char8_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char16_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char32_t *s, std::size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const wchar_t *s, std::size_t n)
 Used to convert specified value into int64.
 

IP address suffixes

xtd::net::ip_address xtd::literals::operator""_ip (const char *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address xtd::literals::operator""_ip (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address xtd::literals::operator""_ip (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address xtd::literals::operator""_ip (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::net::ip_address xtd::literals::operator""_ip (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::string.
 

SByte suffixes

sbyte xtd::literals::operator""_i8 (long double n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (unsigned long long n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char8_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char16_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char32_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const wchar_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (long double n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (unsigned long long n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char8_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char16_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char32_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const wchar_t *s, std::size_t n)
 Used to convert specified value into sbyte.
 

Single suffixes

float xtd::literals::operator""_f (long double n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (unsigned long long n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char *s, std::size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char8_t *s, std::size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char16_t *s, std::size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char32_t *s, std::size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const wchar_t *s, std::size_t n)
 Used to convert specified value into byte.
 

Size suffixes

xtd::size xtd::literals::operator""_uz (long double n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_uz (unsigned long long n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_uz (const char *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_uz (const char8_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_uz (const char16_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_uz (const char32_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_uz (const wchar_t *s, xtd::size n)
 Used to convert specified value into xtd::size.
 
xtd::size xtd::literals::operator""_z (long double n)
 Used to convert specified value into signed xtd::size.
 
xtd::size xtd::literals::operator""_z (unsigned long long n)
 Used to convert specified value into signed xtd::size.
 
xtd::size xtd::literals::operator""_z (const char *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size xtd::literals::operator""_z (const char8_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size xtd::literals::operator""_z (const char16_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size xtd::literals::operator""_z (const char32_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 
xtd::size xtd::literals::operator""_z (const wchar_t *s, xtd::size n)
 Used to convert specified value into signed xtd::size.
 

String suffixes

xtd::string xtd::literals::operator""_s (const char *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sb (long double s)
 Used to convert the specified value to xtd::string with a binary format.
 
xtd::string xtd::literals::operator""_sb (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format.
 
xtd::string xtd::literals::operator""_sb2 (long double s)
 Used to convert the specified value to xtd::string with a binary format with two digits.
 
xtd::string xtd::literals::operator""_sb2 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with two digits.
 
xtd::string xtd::literals::operator""_sb4 (long double s)
 Used to convert the specified value to xtd::string with a binary format with four digits.
 
xtd::string xtd::literals::operator""_sb4 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with four digits.
 
xtd::string xtd::literals::operator""_sb8 (long double s)
 Used to convert the specified value to xtd::string with a binary format with eight digits.
 
xtd::string xtd::literals::operator""_sb8 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with eight digits.
 
xtd::string xtd::literals::operator""_sb16 (long double s)
 Used to convert the specified value to xtd::string with a binary format with sixteen digits.
 
xtd::string xtd::literals::operator""_sb16 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with sixteen digits.
 
xtd::string xtd::literals::operator""_sb32 (long double s)
 Used to convert the specified value to xtd::string with a binary format with thirty two digits.
 
xtd::string xtd::literals::operator""_sb32 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with thirty two digits.
 
xtd::string xtd::literals::operator""_sb64 (long double s)
 Used to convert the specified value to xtd::string with a binary format with sixty four digits.
 
xtd::string xtd::literals::operator""_sb64 (unsigned long long s)
 Used to convert the specified value to xtd::string with a binary format with sixty four digits.
 
xtd::string xtd::literals::operator""_sd (long double s)
 Used to convert the specified value to xtd::string with a decimal format.
 
xtd::string xtd::literals::operator""_sd (unsigned long long s)
 Used to convert the specified value to xtd::string with a decimal format.
 
xtd::string xtd::literals::operator""_sx (long double s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sx (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sx2 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sx4 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sx8 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sx16 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sX (long double s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sX (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sX2 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sX4 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sX8 (unsigned long long s)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_sX16 (unsigned long long s)
 Used to convert specified value into xtd::string.
 

Time span suffixes

xtd::time_span xtd::literals::operator""_h (unsigned long long h)
 Used to convert the specified value as hours to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_m (unsigned long long m)
 Used to convert the specified value as minutes to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_min (unsigned long long min)
 Used to convert the specified value as minutes to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ms (unsigned long long ms)
 Used to convert the specified value as millisconds to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ns (unsigned long long ns)
 Used to convert the specified value as nanoseconds to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_s (unsigned long long s)
 Used to convert the specified value as seconds to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_t (unsigned long long t)
 Used to convert the specified value as tiks to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_us (unsigned long long us)
 Used to convert the specified value as microseconds to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ts (const char *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ts (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ts (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ts (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ts (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::time_span.
 

Translator suffixes

const char * xtd::literals::operator""_t (const char *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string xtd::literals::operator""_t (const char8 *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string xtd::literals::operator""_t (const char16 *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string xtd::literals::operator""_t (const char32 *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 
xtd::string xtd::literals::operator""_t (const wchar *s, xtd::size n) noexcept
 Used to translate specified string into locale.
 

UInt16 suffixes

uint16 xtd::literals::operator""_u16 (long double n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (unsigned long long n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char8_t *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char16_t *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char32_t *s, std::size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint16.
 

UInt32 suffixes

uint32 xtd::literals::operator""_u32 (long double n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (unsigned long long n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char8_t *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char16_t *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char32_t *s, std::size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint32.
 

UInt64 suffixes

uint64 xtd::literals::operator""_u64 (long double n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (unsigned long long n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char8_t *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char16_t *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char32_t *s, std::size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const wchar_t *s, std::size_t n)
 Used to convert specified value into uint64.
 

URI suffixes

xtd::uri xtd::literals::operator""_uri (const char *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri xtd::literals::operator""_uri (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri xtd::literals::operator""_uri (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri xtd::literals::operator""_uri (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 
xtd::uri xtd::literals::operator""_uri (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::uri.
 

Version suffixes

xtd::version xtd::literals::operator""_vers (const char *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version xtd::literals::operator""_vers (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version xtd::literals::operator""_vers (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version xtd::literals::operator""_vers (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::version.
 
xtd::version xtd::literals::operator""_vers (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::version.
 

Color suffixes

xtd::drawing::color xtd::literals::operator""_color (const char *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color xtd::literals::operator""_color (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color xtd::literals::operator""_color (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color xtd::literals::operator""_color (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 
xtd::drawing::color xtd::literals::operator""_color (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::drawing::color.
 

Image suffixes

xtd::drawing::image xtd::literals::operator""_image (const char *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image xtd::literals::operator""_image (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image xtd::literals::operator""_image (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image xtd::literals::operator""_image (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 
xtd::drawing::image xtd::literals::operator""_image (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::drawing::image.
 

Country suffixes

xtd::forms::country xtd::literals::operator""_country (const char *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country xtd::literals::operator""_country (const char8 *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country xtd::literals::operator""_country (const char16 *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country xtd::literals::operator""_country (const char32 *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 
xtd::forms::country xtd::literals::operator""_country (const wchar *s, xtd::size n)
 Used to convert specified value into xtd::forms::country.
 

Function Documentation

◆ operator""_c() [1/6]

char32 xtd::literals::operator""_c ( unsigned long long c)

#include <xtd.core/include/xtd/character_literals.hpp>

Used to convert specified value into char32.

Namespace
xtd
Library
xtd.core
Examples
static std::ostream out
Gets the standard output stream. A std::basic_ostream<char_t> that represents the standard output str...
Definition console.hpp:52
static xtd::string new_line() noexcept
Gets the newline string defined for this environment.

◆ operator""_c() [2/6]

char32 xtd::literals::operator""_c ( char c)

#include <xtd.core/include/xtd/character_literals.hpp>

Used to convert specified value into char32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_c() [3/6]

char32 xtd::literals::operator""_c ( char8 c)

#include <xtd.core/include/xtd/character_literals.hpp>

Used to convert specified value into char32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_c() [4/6]

char32 xtd::literals::operator""_c ( char16 c)

#include <xtd.core/include/xtd/character_literals.hpp>

Used to convert specified value into char32.

Namespace
xtd
Library
xtd.core
Examples
@ u
The U key.
Definition console_key.hpp:128

◆ operator""_c() [5/6]

char32 xtd::literals::operator""_c ( char32 c)

#include <xtd.core/include/xtd/character_literals.hpp>

Used to convert specified value into char32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_c() [6/6]

char32 xtd::literals::operator""_c ( wchar c)

#include <xtd.core/include/xtd/character_literals.hpp>

Used to convert specified value into char32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [1/7]

xtd::byte xtd::literals::operator""_b ( long double n)

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [2/7]

xtd::byte xtd::literals::operator""_b ( unsigned long long n)

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [3/7]

xtd::byte xtd::literals::operator""_b ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [4/7]

xtd::byte xtd::literals::operator""_b ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [5/7]

xtd::byte xtd::literals::operator""_b ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [6/7]

xtd::byte xtd::literals::operator""_b ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_b() [7/7]

xtd::byte xtd::literals::operator""_b ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [1/7]

xtd::byte xtd::literals::operator""_u8 ( long double n)

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [2/7]

xtd::byte xtd::literals::operator""_u8 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [3/7]

xtd::byte xtd::literals::operator""_u8 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [4/7]

xtd::byte xtd::literals::operator""_u8 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [5/7]

xtd::byte xtd::literals::operator""_u8 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [6/7]

xtd::byte xtd::literals::operator""_u8 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u8() [7/7]

xtd::byte xtd::literals::operator""_u8 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/byte.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [1/7]

double xtd::literals::operator""_d ( long double n)

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [2/7]

double xtd::literals::operator""_d ( unsigned long long n)

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [3/7]

double xtd::literals::operator""_d ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [4/7]

double xtd::literals::operator""_d ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [5/7]

double xtd::literals::operator""_d ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [6/7]

double xtd::literals::operator""_d ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_d() [7/7]

double xtd::literals::operator""_d ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/double.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_guid() [1/5]

xtd::guid xtd::literals::operator""_guid ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/guid.hpp>

Used to convert specified value into xtd::guid.

Namespace
xtd
Library
xtd.core
Examples
xtd::guid g = "1dae5efa-d701-42b9-8d61-09d3b38f802a"_guid;
Represents a globally unique identifier (GUID). A GUID is a 128-bit integer (16 bytes) that can be us...
Definition guid.hpp:24
@ g
The G key.
Definition console_key.hpp:100

◆ operator""_guid() [2/5]

xtd::guid xtd::literals::operator""_guid ( const char8 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/guid.hpp>

Used to convert specified value into xtd::guid.

Namespace
xtd
Library
xtd.core
Examples
xtd::guid g = u8"1dae5efa-d701-42b9-8d61-09d3b38f802a"_guid;

◆ operator""_guid() [3/5]

xtd::guid xtd::literals::operator""_guid ( const char16 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/guid.hpp>

Used to convert specified value into xtd::guid.

Namespace
xtd
Library
xtd.core
Examples
xtd::guid g = u"1dae5efa-d701-42b9-8d61-09d3b38f802a"_guid;

◆ operator""_guid() [4/5]

xtd::guid xtd::literals::operator""_guid ( const char32 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/guid.hpp>

Used to convert specified value into xtd::guid.

Namespace
xtd
Library
xtd.core
Examples
xtd::guid g = U"1dae5efa-d701-42b9-8d61-09d3b38f802a"_guid;

◆ operator""_guid() [5/5]

xtd::guid xtd::literals::operator""_guid ( const wchar * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/guid.hpp>

Used to convert specified value into xtd::guid.

Namespace
xtd
Library
xtd.core
Examples
xtd::guid g = L"1dae5efa-d701-42b9-8d61-09d3b38f802a"_guid;

◆ operator""_i16() [1/7]

int16 xtd::literals::operator""_i16 ( long double n)

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i16() [2/7]

int16 xtd::literals::operator""_i16 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i16() [3/7]

int16 xtd::literals::operator""_i16 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i16() [4/7]

int16 xtd::literals::operator""_i16 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i16() [5/7]

int16 xtd::literals::operator""_i16 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i16() [6/7]

int16 xtd::literals::operator""_i16 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i16() [7/7]

int16 xtd::literals::operator""_i16 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [1/7]

int16 xtd::literals::operator""_s16 ( long double n)

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [2/7]

int16 xtd::literals::operator""_s16 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [3/7]

int16 xtd::literals::operator""_s16 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [4/7]

int16 xtd::literals::operator""_s16 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [5/7]

int16 xtd::literals::operator""_s16 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [6/7]

int16 xtd::literals::operator""_s16 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s16() [7/7]

int16 xtd::literals::operator""_s16 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int16.hpp>

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [1/7]

int32 xtd::literals::operator""_i32 ( long double n)

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [2/7]

int32 xtd::literals::operator""_i32 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [3/7]

int32 xtd::literals::operator""_i32 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [4/7]

int32 xtd::literals::operator""_i32 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [5/7]

int32 xtd::literals::operator""_i32 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [6/7]

int32 xtd::literals::operator""_i32 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i32() [7/7]

int32 xtd::literals::operator""_i32 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [1/7]

int32 xtd::literals::operator""_s32 ( long double n)

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [2/7]

int32 xtd::literals::operator""_s32 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [3/7]

int32 xtd::literals::operator""_s32 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [4/7]

int32 xtd::literals::operator""_s32 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [5/7]

int32 xtd::literals::operator""_s32 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [6/7]

int32 xtd::literals::operator""_s32 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s32() [7/7]

int32 xtd::literals::operator""_s32 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int32.hpp>

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [1/7]

int64 xtd::literals::operator""_i64 ( long double n)

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [2/7]

int64 xtd::literals::operator""_i64 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [3/7]

int64 xtd::literals::operator""_i64 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [4/7]

int64 xtd::literals::operator""_i64 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [5/7]

int64 xtd::literals::operator""_i64 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [6/7]

int64 xtd::literals::operator""_i64 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i64() [7/7]

int64 xtd::literals::operator""_i64 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [1/7]

int64 xtd::literals::operator""_s64 ( long double n)

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [2/7]

int64 xtd::literals::operator""_s64 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [3/7]

int64 xtd::literals::operator""_s64 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [4/7]

int64 xtd::literals::operator""_s64 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [5/7]

int64 xtd::literals::operator""_s64 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [6/7]

int64 xtd::literals::operator""_s64 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s64() [7/7]

int64 xtd::literals::operator""_s64 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/int64.hpp>

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ip() [1/5]

xtd::net::ip_address xtd::literals::operator""_ip ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/ip_address.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::net::ip_address ip_v4 = "192.168.0.1"_ip;
xtd::net::ip_address ip_v6 = "2001:db8::1"_ip;
Provides an Internet Protocol (IP) address.
Definition ip_address.hpp:42
@ ip_v6
The Uri is a relative xtd::uri.
Definition uri_host_name_type.hpp:25
@ ip_v4
The Uri is a relative xtd::uri.
Definition uri_host_name_type.hpp:23

◆ operator""_ip() [2/5]

xtd::net::ip_address xtd::literals::operator""_ip ( const char8 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/ip_address.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ip() [3/5]

xtd::net::ip_address xtd::literals::operator""_ip ( const char16 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/ip_address.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ip() [4/5]

xtd::net::ip_address xtd::literals::operator""_ip ( const char32 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/ip_address.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ip() [5/5]

xtd::net::ip_address xtd::literals::operator""_ip ( const wchar * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/ip_address.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [1/7]

sbyte xtd::literals::operator""_i8 ( long double n)

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [2/7]

sbyte xtd::literals::operator""_i8 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [3/7]

sbyte xtd::literals::operator""_i8 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [4/7]

sbyte xtd::literals::operator""_i8 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [5/7]

sbyte xtd::literals::operator""_i8 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [6/7]

sbyte xtd::literals::operator""_i8 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_i8() [7/7]

sbyte xtd::literals::operator""_i8 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [1/7]

sbyte xtd::literals::operator""_s8 ( long double n)

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [2/7]

sbyte xtd::literals::operator""_s8 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [3/7]

sbyte xtd::literals::operator""_s8 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [4/7]

sbyte xtd::literals::operator""_s8 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [5/7]

sbyte xtd::literals::operator""_s8 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [6/7]

sbyte xtd::literals::operator""_s8 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s8() [7/7]

sbyte xtd::literals::operator""_s8 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/sbyte.hpp>

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [1/7]

float xtd::literals::operator""_f ( long double n)

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [2/7]

float xtd::literals::operator""_f ( unsigned long long n)

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [3/7]

float xtd::literals::operator""_f ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [4/7]

float xtd::literals::operator""_f ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [5/7]

float xtd::literals::operator""_f ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [6/7]

float xtd::literals::operator""_f ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_f() [7/7]

float xtd::literals::operator""_f ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/single.hpp>

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [1/7]

xtd::size xtd::literals::operator""_uz ( long double n)

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [2/7]

xtd::size xtd::literals::operator""_uz ( unsigned long long n)

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [3/7]

xtd::size xtd::literals::operator""_uz ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [4/7]

xtd::size xtd::literals::operator""_uz ( const char8_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [5/7]

xtd::size xtd::literals::operator""_uz ( const char16_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [6/7]

xtd::size xtd::literals::operator""_uz ( const char32_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uz() [7/7]

xtd::size xtd::literals::operator""_uz ( const wchar_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [1/7]

xtd::size xtd::literals::operator""_z ( long double n)

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [2/7]

xtd::size xtd::literals::operator""_z ( unsigned long long n)

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [3/7]

xtd::size xtd::literals::operator""_z ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [4/7]

xtd::size xtd::literals::operator""_z ( const char8_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [5/7]

xtd::size xtd::literals::operator""_z ( const char16_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [6/7]

xtd::size xtd::literals::operator""_z ( const char32_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_z() [7/7]

xtd::size xtd::literals::operator""_z ( const wchar_t * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/size.hpp>

Used to convert specified value into signed xtd::size.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s() [1/6]

xtd::string xtd::literals::operator""_s ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = "This is a "_s + "simple test"_s;
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
@ s
The S key.
Definition console_key.hpp:124

◆ operator""_s() [2/6]

xtd::string xtd::literals::operator""_s ( const char8 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = u8"This is a "_s + u8"simple test"_s;

◆ operator""_s() [3/6]

xtd::string xtd::literals::operator""_s ( const char16 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = U"This is a "_s + U"simple test"_s;

◆ operator""_s() [4/6]

xtd::string xtd::literals::operator""_s ( const char32 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = u"This is a "_s + u"simple test"_s;

◆ operator""_s() [5/6]

xtd::string xtd::literals::operator""_s ( const wchar * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = L"This is a "_s + L"simple test"_s;

◆ operator""_sb() [1/2]

xtd::string xtd::literals::operator""_sb ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb() [2/2]

xtd::string xtd::literals::operator""_sb ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb2() [1/2]

xtd::string xtd::literals::operator""_sb2 ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with two digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb2() [2/2]

xtd::string xtd::literals::operator""_sb2 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with two digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb4() [1/2]

xtd::string xtd::literals::operator""_sb4 ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with four digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb4() [2/2]

xtd::string xtd::literals::operator""_sb4 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with four digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb8() [1/2]

xtd::string xtd::literals::operator""_sb8 ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with eight digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb8() [2/2]

xtd::string xtd::literals::operator""_sb8 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with eight digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb16() [1/2]

xtd::string xtd::literals::operator""_sb16 ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with sixteen digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb16() [2/2]

xtd::string xtd::literals::operator""_sb16 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with sixteen digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb32() [1/2]

xtd::string xtd::literals::operator""_sb32 ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with thirty two digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb32() [2/2]

xtd::string xtd::literals::operator""_sb32 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with thirty two digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb64() [1/2]

xtd::string xtd::literals::operator""_sb64 ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with sixty four digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sb64() [2/2]

xtd::string xtd::literals::operator""_sb64 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a binary format with sixty four digits.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sd() [1/2]

xtd::string xtd::literals::operator""_sd ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a decimal format.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sd() [2/2]

xtd::string xtd::literals::operator""_sd ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert the specified value to xtd::string with a decimal format.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sx() [1/2]

xtd::string xtd::literals::operator""_sx ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sx() [2/2]

xtd::string xtd::literals::operator""_sx ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sx2()

xtd::string xtd::literals::operator""_sx2 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sx4()

xtd::string xtd::literals::operator""_sx4 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sx8()

xtd::string xtd::literals::operator""_sx8 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sx16()

xtd::string xtd::literals::operator""_sx16 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sX() [1/2]

xtd::string xtd::literals::operator""_sX ( long double s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sX() [2/2]

xtd::string xtd::literals::operator""_sX ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sX2()

xtd::string xtd::literals::operator""_sX2 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sX4()

xtd::string xtd::literals::operator""_sX4 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sX8()

xtd::string xtd::literals::operator""_sX8 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_sX16()

xtd::string xtd::literals::operator""_sX16 ( unsigned long long s)

#include <xtd.core/include/xtd/literals/string.hpp>

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_h()

xtd::time_span xtd::literals::operator""_h ( unsigned long long h)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as hours to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 10_h;
Represents a time interval.
Definition time_span.hpp:29

◆ operator""_m()

xtd::time_span xtd::literals::operator""_m ( unsigned long long m)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as minutes to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_min()

xtd::time_span xtd::literals::operator""_min ( unsigned long long min)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as minutes to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ms()

xtd::time_span xtd::literals::operator""_ms ( unsigned long long ms)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as millisconds to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ns()

xtd::time_span xtd::literals::operator""_ns ( unsigned long long ns)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as nanoseconds to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_s() [6/6]

xtd::time_span xtd::literals::operator""_s ( unsigned long long s)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as seconds to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_t() [1/6]

xtd::time_span xtd::literals::operator""_t ( unsigned long long t)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as tiks to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_us()

xtd::time_span xtd::literals::operator""_us ( unsigned long long us)

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert the specified value as microseconds to xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ts() [1/5]

xtd::time_span xtd::literals::operator""_ts ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert specified value into xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ts() [2/5]

xtd::time_span xtd::literals::operator""_ts ( const char8 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert specified value into xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ts() [3/5]

xtd::time_span xtd::literals::operator""_ts ( const char16 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert specified value into xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ts() [4/5]

xtd::time_span xtd::literals::operator""_ts ( const char32 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert specified value into xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_ts() [5/5]

xtd::time_span xtd::literals::operator""_ts ( const wchar * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/time_span.hpp>

Used to convert specified value into xtd::time_span.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_t() [2/6]

const char * xtd::literals::operator""_t ( const char * s,
xtd::size n )
noexcept

#include <xtd.core/include/xtd/literals/translator.hpp>

Used to translate specified string into locale.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_t() [3/6]

xtd::string xtd::literals::operator""_t ( const char8 * s,
xtd::size n )
noexcept

#include <xtd.core/include/xtd/literals/translator.hpp>

Used to translate specified string into locale.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_t() [4/6]

xtd::string xtd::literals::operator""_t ( const char16 * s,
xtd::size n )
noexcept

#include <xtd.core/include/xtd/literals/translator.hpp>

Used to translate specified string into locale.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_t() [5/6]

xtd::string xtd::literals::operator""_t ( const char32 * s,
xtd::size n )
noexcept

#include <xtd.core/include/xtd/literals/translator.hpp>

Used to translate specified string into locale.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_t() [6/6]

xtd::string xtd::literals::operator""_t ( const wchar * s,
xtd::size n )
noexcept

#include <xtd.core/include/xtd/literals/translator.hpp>

Used to translate specified string into locale.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [1/7]

uint16 xtd::literals::operator""_u16 ( long double n)

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [2/7]

uint16 xtd::literals::operator""_u16 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [3/7]

uint16 xtd::literals::operator""_u16 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [4/7]

uint16 xtd::literals::operator""_u16 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [5/7]

uint16 xtd::literals::operator""_u16 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [6/7]

uint16 xtd::literals::operator""_u16 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u16() [7/7]

uint16 xtd::literals::operator""_u16 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint16.hpp>

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [1/7]

uint32 xtd::literals::operator""_u32 ( long double n)

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [2/7]

uint32 xtd::literals::operator""_u32 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [3/7]

uint32 xtd::literals::operator""_u32 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [4/7]

uint32 xtd::literals::operator""_u32 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [5/7]

uint32 xtd::literals::operator""_u32 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [6/7]

uint32 xtd::literals::operator""_u32 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u32() [7/7]

uint32 xtd::literals::operator""_u32 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint32.hpp>

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [1/7]

uint64 xtd::literals::operator""_u64 ( long double n)

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [2/7]

uint64 xtd::literals::operator""_u64 ( unsigned long long n)

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [3/7]

uint64 xtd::literals::operator""_u64 ( const char * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [4/7]

uint64 xtd::literals::operator""_u64 ( const char8_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [5/7]

uint64 xtd::literals::operator""_u64 ( const char16_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [6/7]

uint64 xtd::literals::operator""_u64 ( const char32_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_u64() [7/7]

uint64 xtd::literals::operator""_u64 ( const wchar_t * s,
std::size_t n )

#include <xtd.core/include/xtd/literals/uint64.hpp>

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_uri() [1/5]

xtd::uri xtd::literals::operator""_uri ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/uri.hpp>

Used to convert specified value into xtd::uri.

Namespace
xtd
Library
xtd.core
Examples
xtd::uri u = "https://https://gammasoft71.github.io/xtd/"_uri;
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition uri.hpp:103

◆ operator""_uri() [2/5]

xtd::uri xtd::literals::operator""_uri ( const char8 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/uri.hpp>

Used to convert specified value into xtd::uri.

Namespace
xtd
Library
xtd.core
Examples
xtd::uri u = u8"https://https://gammasoft71.github.io/xtd/"_uri;

◆ operator""_uri() [3/5]

xtd::uri xtd::literals::operator""_uri ( const char16 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/uri.hpp>

Used to convert specified value into xtd::uri.

Namespace
xtd
Library
xtd.core
Examples
xtd::uri u = u"https://https://gammasoft71.github.io/xtd/"_uri;

◆ operator""_uri() [4/5]

xtd::uri xtd::literals::operator""_uri ( const char32 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/uri.hpp>

Used to convert specified value into xtd::uri.

Namespace
xtd
Library
xtd.core
Examples
xtd::uri u = U"https://https://gammasoft71.github.io/xtd/"_uri;

◆ operator""_uri() [5/5]

xtd::uri xtd::literals::operator""_uri ( const wchar * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/uri.hpp>

Used to convert specified value into xtd::uri.

Namespace
xtd
Library
xtd.core
Examples
xtd::uri u = L"https://https://gammasoft71.github.io/xtd/"_uri;

◆ operator""_vers() [1/5]

xtd::version xtd::literals::operator""_vers ( const char * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/version.hpp>

Used to convert specified value into xtd::version.

Namespace
xtd
Library
xtd.core
Examples
xtd::version v = "1.2.3"_vers;
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.hpp:114
@ v
The V key.
Definition console_key.hpp:130

◆ operator""_vers() [2/5]

xtd::version xtd::literals::operator""_vers ( const char8 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/version.hpp>

Used to convert specified value into xtd::version.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_vers() [3/5]

xtd::version xtd::literals::operator""_vers ( const char16 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/version.hpp>

Used to convert specified value into xtd::version.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_vers() [4/5]

xtd::version xtd::literals::operator""_vers ( const char32 * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/version.hpp>

Used to convert specified value into xtd::version.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_vers() [5/5]

xtd::version xtd::literals::operator""_vers ( const wchar * s,
xtd::size n )

#include <xtd.core/include/xtd/literals/version.hpp>

Used to convert specified value into xtd::version.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_color() [1/5]

xtd::drawing::color xtd::literals::operator""_color ( const char * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/color.hpp>

Used to convert specified value into xtd::drawing::color.

Namespace
xtd
Library
xtd.core
Examples
xtd::drawing::color c1 = "dodger blue"_color;
xtd::drawing::color c2 = "80FF0000"_color;
xtd::drawing::color c3 = "0x00ff00"_color;
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:46

◆ operator""_color() [2/5]

xtd::drawing::color xtd::literals::operator""_color ( const char8 * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/color.hpp>

Used to convert specified value into xtd::drawing::color.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_color() [3/5]

xtd::drawing::color xtd::literals::operator""_color ( const char16 * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/color.hpp>

Used to convert specified value into xtd::drawing::color.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_color() [4/5]

xtd::drawing::color xtd::literals::operator""_color ( const char32 * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/color.hpp>

Used to convert specified value into xtd::drawing::color.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_color() [5/5]

xtd::drawing::color xtd::literals::operator""_color ( const wchar * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/color.hpp>

Used to convert specified value into xtd::drawing::color.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_image() [1/5]

xtd::drawing::image xtd::literals::operator""_image ( const char * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/system_images.hpp>

Used to convert specified value into xtd::drawing::image.

Namespace
xtd
Library
xtd.core
Examples
xtd::drawing::image i = "system-file-manager"_image;
i.save("system_file_manager.png");
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
@ i
The I key.
Definition console_key.hpp:104
Remarks
The xtd::drawing::system_images::names contains the names of the images that can be used.
The xtd::drawing::size of the image is equal to xtd::drawing::system_images::default_size property.
Note
If you want load image with other size use xtd::drawing::system_images::from_name (const xtd::string& name, const xtd::drawing::size& size) method.

◆ operator""_image() [2/5]

xtd::drawing::image xtd::literals::operator""_image ( const char8 * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/system_images.hpp>

Used to convert specified value into xtd::drawing::image.

Namespace
xtd
Library
xtd.core
Examples
xtd::drawing::image i = u8"system-file-manager"_image;
i.save("system_file_manager.png");
Remarks
The xtd::drawing::system_images::names contains the names of the images that can be used.
The xtd::drawing::size of the image is equal to xtd::drawing::system_images::default_size property.
Note
If you want load image with other size use xtd::drawing::system_images::from_name (const xtd::string& name, const xtd::drawing::size& size) method.

◆ operator""_image() [3/5]

xtd::drawing::image xtd::literals::operator""_image ( const char16 * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/system_images.hpp>

Used to convert specified value into xtd::drawing::image.

Namespace
xtd
Library
xtd.core
Examples
xtd::drawing::image i = u"system-file-manager"_image;
i.save("system_file_manager.png");
Remarks
The xtd::drawing::system_images::names contains the names of the images that can be used.
The xtd::drawing::size of the image is equal to xtd::drawing::system_images::default_size property.
Note
If you want load image with other size use xtd::drawing::system_images::from_name (const xtd::string& name, const xtd::drawing::size& size) method.

◆ operator""_image() [4/5]

xtd::drawing::image xtd::literals::operator""_image ( const char32 * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/system_images.hpp>

Used to convert specified value into xtd::drawing::image.

Namespace
xtd
Library
xtd.core
Examples
xtd::drawing::image i = U"system-file-manager"_image;
i.save("system_file_manager.png");
Remarks
The xtd::drawing::system_images::names contains the names of the images that can be used.
The xtd::drawing::size of the image is equal to xtd::drawing::system_images::default_size property.
Note
If you want load image with other size use xtd::drawing::system_images::from_name (const xtd::string& name, const xtd::drawing::size& size) method.

◆ operator""_image() [5/5]

xtd::drawing::image xtd::literals::operator""_image ( const wchar * s,
xtd::size n )

#include <xtd.drawing/include/xtd/literals/system_images.hpp>

Used to convert specified value into xtd::drawing::image.

Namespace
xtd
Library
xtd.core
Examples
xtd::drawing::image i = L"system-file-manager"_image;
i.save("system_file_manager.png");
Remarks
The xtd::drawing::system_images::names contains the names of the images that can be used.
The xtd::drawing::size of the image is equal to xtd::drawing::system_images::default_size property.
Note
If you want load image with other size use xtd::drawing::system_images::from_name (const xtd::string& name, const xtd::drawing::size& size) method.

◆ operator""_country() [1/5]

xtd::forms::country xtd::literals::operator""_country ( const char * s,
xtd::size n )

#include <xtd.forms/include/xtd/literals/country.hpp>

Used to convert specified value into xtd::forms::country.

Namespace
xtd
Library
xtd.core
Examples
xtd::forms::country c = "Belgium"_country;
Represent a country with name, alpha codes, numeric code, emoticon and flag.
Definition country.hpp:34
@ c
The C key.
Definition console_key.hpp:92

◆ operator""_country() [2/5]

xtd::forms::country xtd::literals::operator""_country ( const char8 * s,
xtd::size n )

#include <xtd.forms/include/xtd/literals/country.hpp>

Used to convert specified value into xtd::forms::country.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_country() [3/5]

xtd::forms::country xtd::literals::operator""_country ( const char16 * s,
xtd::size n )

#include <xtd.forms/include/xtd/literals/country.hpp>

Used to convert specified value into xtd::forms::country.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_country() [4/5]

xtd::forms::country xtd::literals::operator""_country ( const char32 * s,
xtd::size n )

#include <xtd.forms/include/xtd/literals/country.hpp>

Used to convert specified value into xtd::forms::country.

Namespace
xtd
Library
xtd.core
Examples

◆ operator""_country() [5/5]

xtd::forms::country xtd::literals::operator""_country ( const wchar * s,
xtd::size n )

#include <xtd.forms/include/xtd/literals/country.hpp>

Used to convert specified value into xtd::forms::country.

Namespace
xtd
Library
xtd.core
Examples