6#define __XTD_CORE_INTERNAL__
8#undef __XTD_CORE_INTERNAL__
19 template<
typename arg_t>
20 auto print(FILE* file, arg_t&& value) ->
void {
21 __xtd_print_with_file_write__(
false, file,
string::format(
"{}", value));
25 template<
typename type_t>
26 auto print(FILE* file, std::initializer_list<type_t>&& il) ->
void {
27 __xtd_print_with_file_write__(
false, file,
string::format(
"{}", il));
37 template<
typename ...args_t>
39 __xtd_print_with_file_write__(
false, file,
string::format(fmt, std::forward<args_t>(values)...));
47 template<
typename ...args_t>
48 auto print(FILE* file,
const char* fmt, args_t&& ... values) ->
void {
57 template<
typename ...args_t>
58 auto print(FILE* file,
const char8_t* fmt, args_t&& ... values) ->
void {
67 template<
typename ...args_t>
68 auto print(FILE* file,
const char16_t* fmt, args_t&& ... values) ->
void {
77 template<
typename ...args_t>
78 auto print(FILE* file,
const char32_t* fmt, args_t&& ... values) ->
void {
87 template<
typename ...args_t>
88 auto print(FILE* file,
const wchar_t* fmt, args_t&& ... values) ->
void {
96 template<
typename arg_t>
97 auto print(std::ostream& os, arg_t&& value) ->
void {
98 __xtd_print_with_ostream_write__(
false, os,
string::format(
"{}", value));
102 template<
typename type_t>
103 auto print(std::ostream& os, std::initializer_list<type_t>&& il) ->
void {
104 __xtd_print_with_ostream_write__(
false, os,
string::format(
"{}", il));
113 template<
typename ...args_t>
115 __xtd_print_with_ostream_write__(
false, os,
string::format(fmt, std::forward<args_t>(values)...));
122 template<
typename ...args_t>
123 auto print(std::ostream& os,
const char* fmt, args_t&& ... values) ->
void {
131 template<
typename ...args_t>
132 auto print(std::ostream& os,
const char8_t* fmt, args_t&& ... values) ->
void {
140 template<
typename ...args_t>
141 auto print(std::ostream& os,
const char16_t* fmt, args_t&& ... values) ->
void {
149 template<
typename ...args_t>
150 auto print(std::ostream& os,
const char32_t* fmt, args_t&& ... values) ->
void {
158 template<
typename ...args_t>
159 auto print(std::ostream& os,
const wchar_t* fmt, args_t&& ... values) ->
void {
166 template<
typename arg_t>
170 template<
typename type_t>
171 auto print(std::initializer_list<type_t>&& il) ->
void {
print(stdout, il);}
178 template<
typename ...args_t>
179 auto print(
const xtd::string& fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
184 template<
typename ...args_t>
185 auto print(
const char* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
190 template<
typename ...args_t>
191 auto print(
const char8_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
196 template<
typename ...args_t>
197 auto print(
const char16_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
202 template<
typename ...args_t>
203 auto print(
const char32_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
208 template<
typename ...args_t>
209 auto print(
const wchar_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
217 template<
typename arg_t>
219 __xtd_print_with_file_write__(
false, file,
string::format(culture,
"{}", value));
223 template<
typename type_t>
225 __xtd_print_with_file_write__(
false, file,
string::format(culture,
"{}", il));
236 template<
typename ...args_t>
238 __xtd_print_with_file_write__(
false, file,
string::format(culture, fmt, std::forward<args_t>(values)...));
247 template<
typename ...args_t>
258 template<
typename ...args_t>
269 template<
typename ...args_t>
280 template<
typename ...args_t>
291 template<
typename ...args_t>
301 template<
typename arg_t>
303 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
"{}", value));
307 template<
typename type_t>
309 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
"{}", il));
319 template<
typename ...args_t>
321 __xtd_print_with_ostream_write__(
false, os,
string::format(culture, fmt, std::forward<args_t>(values)...));
329 template<
typename ...args_t>
331 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
xtd::string {fmt}, std::forward<args_t>(values)...));
339 template<
typename ...args_t>
341 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
xtd::string {fmt}, std::forward<args_t>(values)...));
349 template<
typename ...args_t>
351 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
xtd::string {fmt}, std::forward<args_t>(values)...));
359 template<
typename ...args_t>
361 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
xtd::string {fmt}, std::forward<args_t>(values)...));
369 template<
typename ...args_t>
371 __xtd_print_with_ostream_write__(
false, os,
string::format(culture,
xtd::string {fmt}, std::forward<args_t>(values)...));
378 template<
typename arg_t>
382 template<
typename type_t>
391 template<
typename ...args_t>
398 template<
typename ...args_t>
405 template<
typename ...args_t>
412 template<
typename ...args_t>
419 template<
typename ...args_t>
426 template<
typename ...args_t>
Provides information about a specific culture (called a locale for unmanaged code development)....
Definition culture_info.hpp:42
Contains xtd::globalization::culture_info class.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
auto print(FILE *file, arg_t &&value) -> void
Writes the text representation of the specified value to the file output stream.
Definition print.hpp:20
Contains xtd::string alias.