xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
formatter.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
internal/__formatter.hpp
"
6
8
namespace
xtd
{
10
27
template
<
class
type_t>
28
struct
formatter
{
29
xtd::string
operator()(
const
type_t& value,
const
xtd::string
&
format
,
const
std::locale& locale) {
30
return
__polymorphic_formatter__(value,
format
, locale, std::is_polymorphic<type_t>());
31
}
32
};
33
}
__formatter.hpp
xtd::format
auto format(const xtd::string &fmt, args_t &&... args) -> xtd::string
Writes the text representation of the specified arguments list, to string using the specified format ...
Definition
format.hpp:21
xtd::string
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition
__string_definitions.hpp:43
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::formatter
Provides the base class to format any object.
Definition
formatter.hpp:28
Generated on
for xtd by
Gammasoft
. All rights reserved.