xtd 0.2.0
xtd::literals Namespace Reference

Definition

The xtd::literals namespace contains all xtd's litterals operators.

Character suffixes

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

Byte suffixes

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

Double suffixes

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

Guid suffixes

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

Int16 suffixes

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

Int32 suffixes

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

Int64 suffixes

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

IP address suffixes

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

SByte suffixes

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

Single suffixes

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

Size suffixes

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

String suffixes

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

Time span suffixes

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

Translator suffixes

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

UInt16 suffixes

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

UInt32 suffixes

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

UInt64 suffixes

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

URI suffixes

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

Version suffixes

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

Color suffixes

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

Image suffixes

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

Country suffixes

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