72 template<
class ...args_t>
133 template<
class ...args_t>
194 template<
class ...args_t>
255 template<
class ...args_t>
316 template<
class ...args_t>
320 template<
class ...args_t>
321 xtd::string sprintf(
const char* fmt, args_t&& ... args) {
return xtd::string::sprintf(std::string {fmt}, std::forward<args_t>(args)...);}
322 template<
class ...args_t>
323 xtd::u8string sprintf(
const char8_t* fmt, args_t&& ... args) {
return xtd::string::sprintf(std::u8string {fmt}, std::forward<args_t>(args)...);}
324 template<
class ...args_t>
325 xtd::u16string sprintf(
const char16_t* fmt, args_t&& ... args) {
return xtd::string::sprintf(std::u16string {fmt}, std::forward<args_t>(args)...);}
326 template<
class ...args_t>
327 xtd::u32string sprintf(
const char32_t* fmt, args_t&& ... args) {
return xtd::string::sprintf(std::u32string {fmt}, std::forward<args_t>(args)...);}
328 template<
class ...args_t>
329 xtd::wstring sprintf(
const wchar_t* fmt, args_t&& ... args) {
return xtd::string::sprintf(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.