6#define __XTD_CORE_INTERNAL__
19#undef __XTD_CORE_INTERNAL__
42 template<typename value_t>
43 requires (requires (const xtd::raw_type<value_t>& value, const xtd::string& fmt) {{value.to_string(fmt)} -> xtd::textual;})
44 inline auto to_string(const value_t& value, const xtd::string& fmt, const std::locale& loc) -> xtd::string;
56 template<typename value_t>
57 requires (!requires (const xtd::raw_type<value_t>& value, const xtd::string& fmt) {{value.to_string(fmt)} -> xtd::textual;} && requires (const xtd::raw_type<value_t>& value) {{value.to_string()} -> xtd::textual;})
58 inline auto to_string(const value_t& value, const xtd::string& fmt, const std::locale& loc) -> xtd::string;
71 template<
typename value_t>
305 template<
typename type_t,
typename period_t>
383 template<
typename value_t>
398 template<
typename value_t>
401 template<
typename value_t>
404 template<
typename type_t>
407 template<
typename type_t>
413 template<
typename type_t>
422 template<
typename type1_t,
typename type2_t>
425 template<
typename type_t,
unsigned n_t,
unsigned last_t>
426 struct __xtd_tuple_stringer {
430 template<
typename type_t,
unsigned n_t>
431 struct __xtd_tuple_stringer<type_t, n_t, n_t> {
432 static auto to_string(
const std::string& str,
const type_t& value,
const xtd::string& fmt,
const std::locale& loc) ->
xtd::string;
435 template<
typename ...types_t>
438 template<
typename type_t, xtd::usize size>
441 template<xtd::usize size>
444 template<
typename type_t,
typename allocator_t>
447 template<
typename type_t,
typename allocator_t>
450 template<
typename type_t>
453 template<
typename type_t,
typename allocator_t>
456 template<
typename type_t,
typename container_t>
459 template<
typename type_t,
typename container_t>
462 template<
typename type_t,
typename container_t>
465 template<
typename type_t>
468 template<
typename type_t,
typename allocator_t>
471 template<
typename key_t,
typename value_t,
typename compare_t,
typename allocator_t>
474 template<
typename key_t,
typename value_t,
typename compare_t,
typename allocator_t>
475 inline auto to_string(
const std::multimap<key_t, value_t, compare_t, allocator_t>& values,
const xtd::string& fmt,
const std::locale& loc) ->
xtd::string;
477 template<
typename key_t,
typename compare_t,
typename allocator_t>
480 template<
typename key_t,
typename compare_t,
typename allocator_t>
483 template<
typename key_t,
typename value_t,
typename compare_t,
typename allocator_t>
484 inline auto to_string(
const std::unordered_map<key_t, value_t, compare_t, allocator_t>& values,
const xtd::string& fmt,
const std::locale& loc) ->
xtd::string;
486 template<
typename key_t,
typename value_t,
typename compare_t,
typename allocator_t>
487 inline auto to_string(
const std::unordered_multimap<key_t, value_t, compare_t, allocator_t>& values,
const xtd::string& fmt,
const std::locale& loc) ->
xtd::string;
489 template<
typename key_t,
typename compare_t,
typename allocator_t>
490 inline auto to_string(
const std::unordered_multiset<key_t, compare_t, allocator_t>& values,
const xtd::string& fmt,
const std::locale& loc) ->
xtd::string;
492 template<
typename key_t,
typename compare_t,
typename allocator_t>
495 template<
typename ...args_t>
498 template<
typename type_t>
499 inline auto to_string(type_t value,
const std::initializer_list<std::pair<type_t, xtd::string>>& il) ->
xtd::string;
506 template<
typename type_t>
509 template<
typename type_t>
510 inline auto to_string(
const xtd::collections::generic::helpers::raw_array<type_t>& values,
const xtd::string& fmt,
const std::locale& loc) ->
xtd::string;
512 template<
typename type_t,
typename string_t>
513 inline auto to_string(type_t value,
const std::map<type_t, string_t, std::greater<type_t>>& values) -> string_t;
515 template<
typename type_t,
typename string_t>
516 inline auto to_string(type_t value,
const std::map<type_t, string_t>& values) -> string_t;
520#define __XTD_TO_STRING_INTERNAL__
522#undef __XTD_TO_STRING_INTERNAL__
Contains generic stream output methods.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:26
std::int8_t sbyte
Represents a 8-bit signed integer.
Definition sbyte.hpp:23
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:23
std::any any
Represents the any alias on std::any.
Definition any.hpp:24
Contains xtd::iterable concept.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
auto to_string() const noexcept -> xtd::string override
Returns the string representation of this xtd::read_only_span <type_t> object.
Definition read_only_span.hpp:356
Contains xtd::register_any_stringer and xtd::unregister_any_stringer method.
Contains xtd::string alias.
Contains xtd::textual concept.
Contains xtd::to_string methods.
Contains xtd fundamental types.