19 template<
class ...args_t>
27 template<
class ...args_t>
35 template<
class ...args_t>
43 template<
class ...args_t>
51 template<
class ...args_t>
55 template<
class ...args_t>
56 xtd::string format(
const char* fmt, args_t&& ... args) {
return xtd::string::format(std::string {fmt}, std::forward<args_t>(args)...);}
57 template<
class ...args_t>
58 xtd::u8string format(
const char8_t* fmt, args_t&& ... args) {
return xtd::string::format(std::u8string {fmt}, std::forward<args_t>(args)...);}
59 template<
class ...args_t>
60 xtd::u16string format(
const char16_t* fmt, args_t&& ... args) {
return xtd::string::format(std::u16string {fmt}, std::forward<args_t>(args)...);}
61 template<
class ...args_t>
62 xtd::u32string format(
const char32_t* fmt, args_t&& ... args) {
return xtd::string::format(std::u32string {fmt}, std::forward<args_t>(args)...);}
63 template<
class ...args_t>
64 xtd::wstring format(
const wchar_t* fmt, args_t&& ... args) {
return xtd::string::format(std::wstring {fmt}, std::forward<args_t>(args)...);}
virtual xtd::string to_string() const noexcept
Returns a xtd::string that represents the current object.
xtd::basic_string< xtd::char8 > u8string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:76
xtd::basic_string< xtd::char32 > u32string
Represents text as a sequence of UTF-32 code units.
Definition __string_definitions.hpp:65
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
xtd::basic_string< xtd::char16 > u16string
Represents text as a sequence of UTF-16 code units.
Definition __string_definitions.hpp:54
xtd::basic_string< xtd::wchar > wstring
Represents text as a sequence of UTF-16 code unit on Windows or UTF-32 code unit on non-Windows syste...
Definition __string_definitions.hpp:87
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::string alias.
Contains xtd::u16string alias.
Contains xtd::u32string alias.
Contains xtd::u8string alias.
Contains xtd::wstring alias.