5#define __XTD_CORE_INTERNAL__
7#undef __XTD_CORE_INTERNAL__
16 __xtd_print_with_file_write__(
true, file,
"");
23 template<
typename arg_t>
24 auto println(FILE* file, arg_t&& value) ->
void {
25 __xtd_print_with_file_write__(
true, file,
string::format(
"{}", value));
29 template<
typename type_t>
30 auto println(FILE* file,
const std::initializer_list<type_t>& il) ->
void {
31 __xtd_print_with_file_write__(
true, file,
string::format(
"{}", il));
40 template<
typename ...args_t>
42 __xtd_print_with_file_write__(
true, file,
string::format(fmt, std::forward<args_t>(values)...));
49 template<
typename ...args_t>
50 auto println(FILE* file,
const char* fmt, args_t&& ... values) ->
void {
58 template<
typename ...args_t>
59 auto println(FILE* file,
const char8_t* fmt, args_t&& ... values) ->
void {
67 template<
typename ...args_t>
68 auto println(FILE* file,
const char16_t* fmt, args_t&& ... values) ->
void {
76 template<
typename ...args_t>
77 auto println(FILE* file,
const char32_t* fmt, args_t&& ... values) ->
void {
85 template<
typename ...args_t>
86 auto println(FILE* file,
const wchar_t* fmt, args_t&& ... values) ->
void {
92 inline auto println(std::ostream& os) ->
void {
93 __xtd_print_with_ostream_write__(
true, os,
"");
100 template<
typename arg_t>
101 auto println(std::ostream& os, arg_t&& value) ->
void {
102 __xtd_print_with_ostream_write__(
true, os,
string::format(
"{}", value));
106 template<
typename type_t>
107 auto println(std::ostream& os,
const std::initializer_list<type_t>& il) ->
void {
108 __xtd_print_with_ostream_write__(
true, os,
string::format(
"{}", il));
117 template<
typename ...args_t>
119 __xtd_print_with_ostream_write__(
true, os,
string::format(fmt, std::forward<args_t>(values)...));
126 template<
typename ...args_t>
127 auto println(std::ostream& os,
const char* fmt, args_t&& ... values) ->
void {
135 template<
typename ...args_t>
136 auto println(std::ostream& os,
const char8_t* fmt, args_t&& ... values) ->
void {
144 template<
typename ...args_t>
145 auto println(std::ostream& os,
const char16_t* fmt, args_t&& ... values) ->
void {
153 template<
typename ...args_t>
154 auto println(std::ostream& os,
const char32_t* fmt, args_t&& ... values) ->
void {
162 template<
typename ...args_t>
163 auto println(std::ostream& os,
const wchar_t* fmt, args_t&& ... values) ->
void {
173 template<
typename arg_t>
177 template<
typename type_t>
185 template<
typename ...args_t>
191 template<
typename ...args_t>
192 auto println(
const char* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
197 template<
typename ...args_t>
198 auto println(
const char8_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
203 template<
typename ...args_t>
204 auto println(
const char16_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
209 template<
typename ...args_t>
210 auto println(
const char32_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
215 template<
typename ...args_t>
216 auto println(
const wchar_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
223 template<
typename arg_t>
225 __xtd_print_with_file_write__(
true, file,
string::format(culture,
"{}", value));
229 template<
typename type_t>
231 __xtd_print_with_file_write__(
true, file,
string::format(culture,
"{}", il));
241 template<
typename ...args_t>
243 __xtd_print_with_file_write__(
true, file,
string::format(culture, fmt, std::forward<args_t>(values)...));
251 template<
typename ...args_t>
261 template<
typename ...args_t>
271 template<
typename ...args_t>
281 template<
typename ...args_t>
291 template<
typename ...args_t>
301 template<
typename arg_t>
303 __xtd_print_with_ostream_write__(
true, os,
string::format(culture,
"{}", value));
307 template<
typename type_t>
309 __xtd_print_with_ostream_write__(
true, os,
string::format(culture,
"{}", il));
319 template<
typename ...args_t>
321 __xtd_print_with_ostream_write__(
true, os,
string::format(culture, fmt, std::forward<args_t>(values)...));
329 template<
typename ...args_t>
339 template<
typename ...args_t>
349 template<
typename ...args_t>
359 template<
typename ...args_t>
369 template<
typename ...args_t>
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 println(FILE *file) -> void
Writes the current line terminator to the file output stream using the specified format information.
Definition println.hpp:15
Contains xtd::string alias.