|
xtd
0.2.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#if !defined(__XTD_CORE_INTERNAL__)
8#error "Do not include this file: Internal use only"
19inline void __xtd_print_with_file_write__(
bool new_line, FILE* file,
xtd::string&& s) {
22 if (fwrite(
s.c_str(), 1,
s.length(), file) !=
s.length())
26inline void __xtd_print_with_ostream_write__(
bool new_line, std::ostream& os,
xtd::string&& s) {
29 os.write(
s.c_str(),
s.length());
static xtd::string new_line() noexcept
Gets the newline string defined for this environment.
static void throws(xtd::helpers::exception_case exception_case, const source_location &location=source_location::current())
Throws an exption with specified exception case.
Contains xtd::environment class.
@ null_pointer
The pointer is null.
Definition exception_case.hpp:77
@ io
I/O erreror occurs.
Definition exception_case.hpp:67
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
@ s
The S key.
Definition console_key.hpp:124
Contains xtd::io::io_exception exception.
Contains xtd::null_pointer_exception exception.