xtd 0.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
literals

Definition

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

Functions

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, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char8 *s, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char16 *s, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const char32 *s, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_b (const wchar *s, size_t n)
 Used to convert specified value into byte.
 
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, size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char8 *s, size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char16 *s, size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const char32 *s, size_t n)
 Used to convert specified value into byte.
 
double xtd::literals::operator""_d (const wchar *s, size_t n)
 Used to convert specified value into byte.
 
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, size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char8 *s, size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char16 *s, size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const char32 *s, size_t n)
 Used to convert specified value into byte.
 
float xtd::literals::operator""_f (const wchar *s, size_t n)
 Used to convert specified value into byte.
 
char32 xtd::literals::operator""_c (char c)
 Used to convert specified value into char32._t.
 
char32 xtd::literals::operator""_c (char16 c)
 Used to convert specified value into char32._t.
 
char32 xtd::literals::operator""_c (char32 c)
 Used to convert specified value into char32._t.
 
char32 xtd::literals::operator""_c (wchar c)
 Used to convert specified value into char32._t.
 
char32 xtd::literals::operator""_c (unsigned long long c)
 Used to convert specified value into char32._t.
 
xtd::time_span xtd::literals::operator""_h (unsigned long long s)
 Used to convert the specified value as hours to xtd::time_span.
 
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, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char8 *s, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char16 *s, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const char32 *s, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_i8 (const wchar *s, size_t n)
 Used to convert specified value into sbyte.
 
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, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char8 *s, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char16 *s, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const char32 *s, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_i16 (const wchar *s, size_t n)
 Used to convert specified value into int16.
 
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, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char8 *s, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char16 *s, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const char32 *s, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_i32 (const wchar *s, size_t n)
 Used to convert specified value into int32.
 
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, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char8 *s, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char16 *s, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const char32 *s, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_i64 (const wchar *s, size_t n)
 Used to convert specified value into int64.
 
xtd::time_span xtd::literals::operator""_m (unsigned long long s)
 Used to convert the specified value as minutes to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_min (unsigned long long s)
 Used to convert the specified value as minutes to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ms (unsigned long long s)
 Used to convert the specified value as millisconds to xtd::time_span.
 
xtd::time_span xtd::literals::operator""_ns (unsigned long long s)
 Used to convert the specified value as nanoseconds to xtd::time_span.
 
xtd::string xtd::literals::operator""_s (const char *s, size_t n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const char8 *s, size_t n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const char16 *s, size_t n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const char32 *s, size_t n)
 Used to convert specified value into xtd::string.
 
xtd::string xtd::literals::operator""_s (const wchar *s, size_t n)
 Used to convert specified value into xtd::string.
 
xtd::time_span xtd::literals::operator""_s (unsigned long long s)
 Used to convert the specified value as seconds to xtd::time_span.
 
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 (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 (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 (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 (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 (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 (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 (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""_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.
 
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, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char8 *s, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char16 *s, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const char32 *s, size_t n)
 Used to convert specified value into sbyte.
 
sbyte xtd::literals::operator""_s8 (const wchar *s, size_t n)
 Used to convert specified value into sbyte.
 
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, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char8 *s, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char16 *s, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const char32 *s, size_t n)
 Used to convert specified value into int16.
 
int16 xtd::literals::operator""_s16 (const wchar *s, size_t n)
 Used to convert specified value into int16.
 
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, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char8 *s, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char16 *s, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const char32 *s, size_t n)
 Used to convert specified value into int32.
 
int32 xtd::literals::operator""_s32 (const wchar *s, size_t n)
 Used to convert specified value into int32.
 
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, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char8 *s, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char16 *s, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const char32 *s, size_t n)
 Used to convert specified value into int64.
 
int64 xtd::literals::operator""_s64 (const wchar *s, size_t n)
 Used to convert specified value into int64.
 
xtd::time_span xtd::literals::operator""_t (unsigned long long s)
 Used to convert the specified value as tiks to xtd::time_span.
 
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, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char8 *s, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char16 *s, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const char32 *s, size_t n)
 Used to convert specified value into byte.
 
xtd::byte xtd::literals::operator""_u8 (const wchar *s, size_t n)
 Used to convert specified value into uint16.
 
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, size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char8 *s, size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char16 *s, size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const char32 *s, size_t n)
 Used to convert specified value into uint16.
 
uint16 xtd::literals::operator""_u16 (const wchar *s, size_t n)
 Used to convert specified value into uint16.
 
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, size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char8 *s, size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char16 *s, size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const char32 *s, size_t n)
 Used to convert specified value into uint32.
 
uint32 xtd::literals::operator""_u32 (const wchar *s, size_t n)
 Used to convert specified value into uint32.
 
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, size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char8 *s, size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char16 *s, size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const char32 *s, size_t n)
 Used to convert specified value into uint64.
 
uint64 xtd::literals::operator""_u64 (const wchar *s, size_t n)
 Used to convert specified value into uint64.
 
xtd::time_span xtd::literals::operator""_us (unsigned long long s)
 Used to convert the specified value as microseconds to xtd::time_span.
 
size_t xtd::operator""_uz (long double n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_uz (unsigned long long n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_uz (const char *s, size_t n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_uz (const char8 *s, size_t n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_uz (const char16 *s, size_t n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_uz (const char32 *s, size_t n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_uz (const wchar *s, size_t n)
 Used to convert specified value into size_t.
 
size_t xtd::operator""_z (long double n)
 Used to convert specified value into signed size_t.
 
size_t xtd::operator""_z (unsigned long long n)
 Used to convert specified value into signed size_t.
 
size_t xtd::operator""_z (const char *s, size_t n)
 Used to convert specified value into signed size_t.
 
size_t xtd::operator""_z (const char8 *s, size_t n)
 Used to convert specified value into signed size_t.
 
size_t xtd::operator""_z (const char16 *s, size_t n)
 Used to convert specified value into signed size_t.
 
size_t xtd::operator""_z (const char32 *s, size_t n)
 Used to convert specified value into signed size_t.
 
size_t xtd::operator""_z (const wchar *s, size_t n)
 Used to convert specified value into signed size_t.
 

Function Documentation

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_b << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_b << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_b << std::endl;

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

xtd::byte xtd::literals::operator""_b ( const char8 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_b << std::endl;

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

xtd::byte xtd::literals::operator""_b ( const char16 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_b << std::endl;
@ u
The U key.

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

xtd::byte xtd::literals::operator""_b ( const char32 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_b << std::endl;

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

xtd::byte xtd::literals::operator""_b ( const wchar s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_b << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_d << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_d << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_d << std::endl;

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

double xtd::literals::operator""_d ( const char8 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_d << std::endl;

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

double xtd::literals::operator""_d ( const char16 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_d << std::endl;

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

double xtd::literals::operator""_d ( const char32 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_d << std::endl;

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

double xtd::literals::operator""_d ( const wchar s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_d << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_f << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_f << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_f << std::endl;

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

float xtd::literals::operator""_f ( const char8 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_f << std::endl;

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

float xtd::literals::operator""_f ( const char16 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_f << std::endl;

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

float xtd::literals::operator""_f ( const char32 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_f << std::endl;

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

float xtd::literals::operator""_f ( const wchar s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_f << std::endl;

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

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

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

Used to convert specified value into char32._t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 'a'_c << std::endl;

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

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

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

Used to convert specified value into char32._t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u'a'_c << std::endl;

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

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

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

Used to convert specified value into char32._t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U'a'_c << std::endl;

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

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

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

Used to convert specified value into char32._t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L'a'_c << std::endl;

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

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

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

Used to convert specified value into char32._t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 49_c << std::endl;

◆ operator""_h()

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

#include <xtd.core/include/xtd/literals.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;
std::cout << ts << std::endl;
Represents a time interval.
Definition time_span.hpp:29

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

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

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_i8 << std::endl;

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

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

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_i8 << std::endl;

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

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

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_i8 << std::endl;

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

sbyte xtd::literals::operator""_i8 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_i8 << std::endl;

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

sbyte xtd::literals::operator""_i8 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_i8 << std::endl;

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

sbyte xtd::literals::operator""_i8 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_i8 << std::endl;

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

sbyte xtd::literals::operator""_i8 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_i8 << std::endl;

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

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

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_i16 << std::endl;

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

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

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_i16 << std::endl;

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

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

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_i16 << std::endl;

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

int16 xtd::literals::operator""_i16 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_i16 << std::endl;

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

int16 xtd::literals::operator""_i16 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_i16 << std::endl;

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

int16 xtd::literals::operator""_i16 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_i16 << std::endl;

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

int16 xtd::literals::operator""_i16 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_i16 << std::endl;

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

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

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_i32 << std::endl;

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

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

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_i32 << std::endl;

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

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

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_i32 << std::endl;

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

int32 xtd::literals::operator""_i32 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_i32 << std::endl;

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

int32 xtd::literals::operator""_i32 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_i32 << std::endl;

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

int32 xtd::literals::operator""_i32 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_i32 << std::endl;

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

int32 xtd::literals::operator""_i32 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_i32 << std::endl;

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

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

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_i64 << std::endl;

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

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

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_i64 << std::endl;

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

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

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_i64 << std::endl;

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

int64 xtd::literals::operator""_i64 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_i64 << std::endl;

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

int64 xtd::literals::operator""_i64 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_i64 << std::endl;

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

int64 xtd::literals::operator""_i64 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_i64 << std::endl;

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

int64 xtd::literals::operator""_i64 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_i64 << std::endl;

◆ operator""_m()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 25_m;
std::cout << ts << std::endl;

◆ operator""_min()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 25_m;
std::cout << ts << std::endl;

◆ operator""_ms()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 25_m;
std::cout << ts << std::endl;

◆ operator""_ns()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 25_m;
std::cout << ts << std::endl;

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

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

#include <xtd.core/include/xtd/literals.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;
std::cout << s << std::endl;
Represents text as a sequence of character units.
Definition basic_string.hpp:79
@ s
The S key.

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

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

#include <xtd.core/include/xtd/literals.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;
std::cout << s << std::endl;

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

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

#include <xtd.core/include/xtd/literals.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;
std::cout << s << std::endl;

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

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

#include <xtd.core/include/xtd/literals.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;
std::cout << s << std::endl;

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

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

#include <xtd.core/include/xtd/literals.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;
std::cout << s << std::endl;

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

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 49_s;
std::cout << ts << std::endl;

◆ operator""_sb()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb;
std::cout << s << std::endl;

◆ operator""_sb2()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb2;
std::cout << s << std::endl;

◆ operator""_sb4()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb4;
std::cout << s << std::endl;

◆ operator""_sb8()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb8;
std::cout << s << std::endl;

◆ operator""_sb16()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb16;
std::cout << s << std::endl;

◆ operator""_sb32()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb32;
std::cout << s << std::endl;

◆ operator""_sb64()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sb64;
std::cout << s << std::endl;

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

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 4.9_sd;
std::cout << s << std::endl;

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

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sd;
std::cout << s << std::endl;

◆ operator""_sx()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sx;
std::cout << s << std::endl;

◆ operator""_sx2()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sx2;
std::cout << s << std::endl;

◆ operator""_sx4()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sx4;
std::cout << s << std::endl;

◆ operator""_sx8()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_s;
std::cout << s << std::endl;

◆ operator""_sX()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sx;
std::cout << s << std::endl;

◆ operator""_sX2()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sx2;
std::cout << s << std::endl;

◆ operator""_sX4()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_sx4;
std::cout << s << std::endl;

◆ operator""_sX8()

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

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

Used to convert specified value into xtd::string.

Namespace
xtd
Library
xtd.core
Examples
xtd::string s = 49_s;
std::cout << s << std::endl;

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

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

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_s8 << std::endl;

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

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

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_s8 << std::endl;

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

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

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_s8 << std::endl;

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

sbyte xtd::literals::operator""_s8 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_s8 << std::endl;

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

sbyte xtd::literals::operator""_s8 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_s8 << std::endl;

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

sbyte xtd::literals::operator""_s8 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_s8 << std::endl;

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

sbyte xtd::literals::operator""_s8 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into sbyte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_s8 << std::endl;

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

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

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_s16 << std::endl;

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

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

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_s16 << std::endl;

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

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

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_s16 << std::endl;

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

int16 xtd::literals::operator""_s16 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_s16 << std::endl;

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

int16 xtd::literals::operator""_s16 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_s16 << std::endl;

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

int16 xtd::literals::operator""_s16 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_s16 << std::endl;

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

int16 xtd::literals::operator""_s16 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into int16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_s16 << std::endl;

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

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

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_s32 << std::endl;

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

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

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_s32 << std::endl;

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

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

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_s32 << std::endl;

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

int32 xtd::literals::operator""_s32 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_s32 << std::endl;

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

int32 xtd::literals::operator""_s32 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_s32 << std::endl;

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

int32 xtd::literals::operator""_s32 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_s32 << std::endl;

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

int32 xtd::literals::operator""_s32 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into int32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_s32 << std::endl;

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

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

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_s64 << std::endl;

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

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

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_s64 << std::endl;

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

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

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_s64 << std::endl;

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

int64 xtd::literals::operator""_s64 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_s64 << std::endl;

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

int64 xtd::literals::operator""_s64 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_s64 << std::endl;

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

int64 xtd::literals::operator""_s64 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_s64 << std::endl;

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

int64 xtd::literals::operator""_s64 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into int64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_s64 << std::endl;

◆ operator""_t()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 49_s;
std::cout << ts << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_u8 << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_u8 << std::endl;

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

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

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_u8 << std::endl;

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

xtd::byte xtd::literals::operator""_u8 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_u8 << std::endl;

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

xtd::byte xtd::literals::operator""_u8 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_u8 << std::endl;

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

xtd::byte xtd::literals::operator""_u8 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into byte.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_u8 << std::endl;

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

xtd::byte xtd::literals::operator""_u8 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_u8 << std::endl;

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

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

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_u16 << std::endl;

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

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

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_u16 << std::endl;

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

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

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_u16 << std::endl;

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

uint16 xtd::literals::operator""_u16 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_u16 << std::endl;

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

uint16 xtd::literals::operator""_u16 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_u16 << std::endl;

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

uint16 xtd::literals::operator""_u16 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_u16 << std::endl;

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

uint16 xtd::literals::operator""_u16 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into uint16.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_u16 << std::endl;

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

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

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_u32 << std::endl;

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

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

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_u32 << std::endl;

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

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

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_u32 << std::endl;

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

uint32 xtd::literals::operator""_u32 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_u32 << std::endl;

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

uint32 xtd::literals::operator""_u32 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_u32 << std::endl;

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

uint32 xtd::literals::operator""_u32 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_u32 << std::endl;

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

uint32 xtd::literals::operator""_u32 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into uint32.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_u32 << std::endl;

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

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

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_u64 << std::endl;

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

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

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_u64 << std::endl;

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

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

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_u64 << std::endl;

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

uint64 xtd::literals::operator""_u64 ( const char8 s,
size_t  n 
)

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_u64 << std::endl;

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

uint64 xtd::literals::operator""_u64 ( const char16 s,
size_t  n 
)

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_u64 << std::endl;

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

uint64 xtd::literals::operator""_u64 ( const char32 s,
size_t  n 
)

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_u64 << std::endl;

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

uint64 xtd::literals::operator""_u64 ( const wchar s,
size_t  n 
)

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

Used to convert specified value into uint64.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_u64 << std::endl;

◆ operator""_us()

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

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

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

Namespace
xtd
Library
xtd.core
Examples
xtd::time_span ts = 49_s;
std::cout << ts << std::endl;

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

size_t xtd::operator""_uz ( long double  n)

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_z << std::endl;

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

size_t xtd::operator""_uz ( unsigned long long  n)

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_z << std::endl;

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

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

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_z << std::endl;

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

size_t xtd::operator""_uz ( const char8 s,
size_t  n 
)

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_z << std::endl;

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

size_t xtd::operator""_uz ( const char16 s,
size_t  n 
)

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_z << std::endl;

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

size_t xtd::operator""_uz ( const char32 s,
size_t  n 
)

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_z << std::endl;

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

size_t xtd::operator""_uz ( const wchar s,
size_t  n 
)

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

Used to convert specified value into size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_z << std::endl;

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

size_t xtd::operator""_z ( long double  n)

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 1.6_z << std::endl;

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

size_t xtd::operator""_z ( unsigned long long  n)

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << 54_z << std::endl;

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

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

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << "125"_z << std::endl;

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

size_t xtd::operator""_z ( const char8 s,
size_t  n 
)

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u8"125"_z << std::endl;

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

size_t xtd::operator""_z ( const char16 s,
size_t  n 
)

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << u"125"_z << std::endl;

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

size_t xtd::operator""_z ( const char32 s,
size_t  n 
)

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << U"125"_z << std::endl;

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

size_t xtd::operator""_z ( const wchar s,
size_t  n 
)

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

Used to convert specified value into signed size_t.

Namespace
xtd
Library
xtd.core
Examples
std::cout << L"125"_z << std::endl;