5#define __XTD_CORE_INTERNAL__
7#undef __XTD_CORE_INTERNAL__
15 __xtd_print_with_file_write__(
true, file,
"");
24 __xtd_print_with_file_write__(
true, file,
string::format(
"{}", value));
28 template<
class type_t>
29 void println(FILE* file,
const std::initializer_list<type_t>& il) {
30 __xtd_print_with_file_write__(
true, file,
string::format(
"{}", il));
39 template<
class ...args_t>
41 __xtd_print_with_file_write__(
true, file,
string::format(fmt, std::forward<args_t>(values)...));
48 template<
class ...args_t>
49 void println(FILE* file,
const char* fmt, args_t&& ... values) {
52#if defined(__xtd__cpp_lib_char8_t)
58 template<
class ...args_t>
59 void println(FILE* file,
const char8_t* fmt, args_t&& ... values) {
68 template<
class ...args_t>
69 void println(FILE* file,
const char16_t* fmt, args_t&& ... values) {
77 template<
class ...args_t>
78 void println(FILE* file,
const char32_t* fmt, args_t&& ... values) {
86 template<
class ...args_t>
87 void println(FILE* file,
const wchar_t* fmt, args_t&& ... values) {
94 __xtd_print_with_ostream_write__(
true, os,
"");
101 template<
class arg_t>
102 void println(std::ostream& os, arg_t&& value) {
103 __xtd_print_with_ostream_write__(
true, os,
string::format(
"{}", value));
107 template<
class type_t>
108 void println(std::ostream& os,
const std::initializer_list<type_t>& il) {
109 __xtd_print_with_ostream_write__(
true, os,
string::format(
"{}", il));
118 template<
class ...args_t>
120 __xtd_print_with_ostream_write__(
true, os,
string::format(fmt, std::forward<args_t>(values)...));
127 template<
class ...args_t>
128 void println(std::ostream& os,
const char* fmt, args_t&& ... values) {
131#if defined(__xtd__cpp_lib_char8_t)
137 template<
class ...args_t>
138 void println(std::ostream& os,
const char8_t* fmt, args_t&& ... values) {
147 template<
class ...args_t>
148 void println(std::ostream& os,
const char16_t* fmt, args_t&& ... values) {
156 template<
class ...args_t>
157 void println(std::ostream& os,
const char32_t* fmt, args_t&& ... values) {
165 template<
class ...args_t>
166 void println(std::ostream& os,
const wchar_t* fmt, args_t&& ... values) {
176 template<
class arg_t>
180 template<
class type_t>
188 template<
class ...args_t>
194 template<
class ...args_t>
195 void println(
const char* fmt, args_t&& ... values) {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
196#if defined(__xtd__cpp_lib_char8_t)
201 template<
class ...args_t>
202 void println(
const char8_t* fmt, args_t&& ... values) {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
208 template<
class ...args_t>
209 void println(
const char16_t* fmt, args_t&& ... values) {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
214 template<
class ...args_t>
215 void println(
const char32_t* fmt, args_t&& ... values) {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
220 template<
class ...args_t>
221 void println(
const wchar_t* fmt, args_t&& ... values) {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
Contains xtd_print_with_file_write and xtd_print_with_ostream_write methods.
Represents text as a sequence of character units.
Definition basic_string.hpp:71
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
void println()
Writes the current line terminator to the standard output stream using the specified format informati...
Definition println.hpp:171
Contains xtd::string alias.