6#define __XTD_CORE_INTERNAL__
8#undef __XTD_CORE_INTERNAL__
18 template<
typename arg_t>
19 auto print(FILE* file, arg_t&& value) ->
void {
20 __xtd_print_with_file_write__(
false, file,
string::format(
"{}", value));
24 template<
typename type_t>
25 auto print(FILE* file, std::initializer_list<type_t>&& il) ->
void {
26 __xtd_print_with_file_write__(
false, file,
string::format(
"{}", il));
36 template<
typename ...args_t>
38 __xtd_print_with_file_write__(
false, file,
string::format(fmt, std::forward<args_t>(values)...));
46 template<
typename ...args_t>
47 auto print(FILE* file,
const char* fmt, args_t&& ... values) ->
void {
56 template<
typename ...args_t>
57 auto print(FILE* file,
const char8_t* fmt, args_t&& ... values) ->
void {
66 template<
typename ...args_t>
67 auto print(FILE* file,
const char16_t* fmt, args_t&& ... values) ->
void {
76 template<
typename ...args_t>
77 auto print(FILE* file,
const char32_t* fmt, args_t&& ... values) ->
void {
86 template<
typename ...args_t>
87 auto print(FILE* file,
const wchar_t* fmt, args_t&& ... values) ->
void {
95 template<
typename arg_t>
96 auto print(std::ostream& os, arg_t&& value) ->
void {
97 __xtd_print_with_ostream_write__(
false, os,
string::format(
"{}", value));
101 template<
typename type_t>
102 auto print(std::ostream& os, std::initializer_list<type_t>&& il) ->
void {
103 __xtd_print_with_ostream_write__(
false, os,
string::format(
"{}", il));
112 template<
typename ...args_t>
114 __xtd_print_with_ostream_write__(
false, os,
string::format(fmt, std::forward<args_t>(values)...));
121 template<
typename ...args_t>
122 auto print(std::ostream& os,
const char* fmt, args_t&& ... values) ->
void {
130 template<
typename ...args_t>
131 auto print(std::ostream& os,
const char8_t* fmt, args_t&& ... values) ->
void {
139 template<
typename ...args_t>
140 auto print(std::ostream& os,
const char16_t* fmt, args_t&& ... values) ->
void {
148 template<
typename ...args_t>
149 auto print(std::ostream& os,
const char32_t* fmt, args_t&& ... values) ->
void {
157 template<
typename ...args_t>
158 auto print(std::ostream& os,
const wchar_t* fmt, args_t&& ... values) ->
void {
165 template<
typename arg_t>
169 template<
typename type_t>
170 auto print(std::initializer_list<type_t>&& il) ->
void {
print(stdout, il);}
177 template<
typename ...args_t>
178 auto print(
const xtd::string& fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
183 template<
typename ...args_t>
184 auto print(
const char* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
189 template<
typename ...args_t>
190 auto print(
const char8_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
195 template<
typename ...args_t>
196 auto print(
const char16_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
201 template<
typename ...args_t>
202 auto print(
const char32_t* fmt, args_t&& ... values) ->
void {
print(stdout, fmt, std::forward<args_t>(values)...);}
207 template<
typename ...args_t>
208 auto print(
const wchar_t* fmt, args_t&& ... values) ->
void {
print(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 print(FILE *file, arg_t &&value) -> void
Writes the text representation of the specified value to the file output stream.
Definition print.hpp:19
Contains xtd::string alias.