5#define __XTD_CORE_INTERNAL__
7#undef __XTD_CORE_INTERNAL__
15 __xtd_print_with_file_write__(
true, file,
"");
22 template<
typename arg_t>
23 auto println(FILE* file, arg_t&& value) ->
void {
24 __xtd_print_with_file_write__(
true, file,
string::format(
"{}", value));
28 template<
typename type_t>
29 auto println(FILE* file,
const std::initializer_list<type_t>& il) ->
void {
30 __xtd_print_with_file_write__(
true, file,
string::format(
"{}", il));
39 template<
typename ...args_t>
41 __xtd_print_with_file_write__(
true, file,
string::format(fmt, std::forward<args_t>(values)...));
48 template<
typename ...args_t>
49 auto println(FILE* file,
const char* fmt, args_t&& ... values) ->
void {
57 template<
typename ...args_t>
58 auto println(FILE* file,
const char8_t* fmt, args_t&& ... values) ->
void {
66 template<
typename ...args_t>
67 auto println(FILE* file,
const char16_t* fmt, args_t&& ... values) ->
void {
75 template<
typename ...args_t>
76 auto println(FILE* file,
const char32_t* fmt, args_t&& ... values) ->
void {
84 template<
typename ...args_t>
85 auto println(FILE* file,
const wchar_t* fmt, args_t&& ... values) ->
void {
91 inline auto println(std::ostream& os) ->
void {
92 __xtd_print_with_ostream_write__(
true, os,
"");
99 template<
typename arg_t>
100 auto println(std::ostream& os, arg_t&& value) ->
void {
101 __xtd_print_with_ostream_write__(
true, os,
string::format(
"{}", value));
105 template<
typename type_t>
106 auto println(std::ostream& os,
const std::initializer_list<type_t>& il) ->
void {
107 __xtd_print_with_ostream_write__(
true, os,
string::format(
"{}", il));
116 template<
typename ...args_t>
118 __xtd_print_with_ostream_write__(
true, os,
string::format(fmt, std::forward<args_t>(values)...));
125 template<
typename ...args_t>
126 auto println(std::ostream& os,
const char* fmt, args_t&& ... values) ->
void {
134 template<
typename ...args_t>
135 auto println(std::ostream& os,
const char8_t* fmt, args_t&& ... values) ->
void {
143 template<
typename ...args_t>
144 auto println(std::ostream& os,
const char16_t* fmt, args_t&& ... values) ->
void {
152 template<
typename ...args_t>
153 auto println(std::ostream& os,
const char32_t* fmt, args_t&& ... values) ->
void {
161 template<
typename ...args_t>
162 auto println(std::ostream& os,
const wchar_t* fmt, args_t&& ... values) ->
void {
172 template<
typename arg_t>
176 template<
typename type_t>
184 template<
typename ...args_t>
190 template<
typename ...args_t>
191 auto println(
const char* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
196 template<
typename ...args_t>
197 auto println(
const char8_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
202 template<
typename ...args_t>
203 auto println(
const char16_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
208 template<
typename ...args_t>
209 auto println(
const char32_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
214 template<
typename ...args_t>
215 auto println(
const wchar_t* fmt, args_t&& ... values) ->
void {
xtd::println(stdout, fmt, std::forward<args_t>(values)...);}
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:14
Contains xtd::string alias.