24 #ifdef INCLUDE_LIBCXX_UNITTESTS 30 exit_handler_intel_x64::unittest_1100_io_cout()
const 32 std::cout <<
"hello world" << std::endl;
33 std::cout << 10 << std::endl;
34 std::cout << 10U << std::endl;
35 std::cout << 10L << std::endl;
36 std::cout << 10UL << std::endl;
41 exit_handler_intel_x64::unittest_1101_io_manipulators()
const 43 std::cout << std::boolalpha <<
true <<
'\n';
44 std::cout << std::boolalpha <<
false <<
'\n';
45 std::cout << std::noboolalpha <<
true <<
'\n';
46 std::cout << std::noboolalpha <<
false <<
'\n';
48 std::cout << std::noshowbase << 3.14 <<
'\n';
49 std::cout << std::noshowpoint << 3.14 <<
'\n';
50 std::cout << std::noshowpos << 3.14 <<
'\n';
51 std::cout << std::noskipws << 3.14 <<
'\n';
52 std::cout << std::nounitbuf << 3.14 <<
'\n';
53 std::cout << std::nouppercase << 3.14 <<
'\n';
55 std::cout << std::showbase << 3.14 <<
'\n';
56 std::cout << std::showpoint << 3.14 <<
'\n';
57 std::cout << std::showpos << 3.14 <<
'\n';
58 std::cout << std::skipws << 3.14 <<
'\n';
59 std::cout << std::unitbuf << 3.14 <<
'\n';
60 std::cout << std::uppercase << 3.14 <<
'\n';
62 std::cout << std::hex << 1 <<
'\n';
63 std::cout << std::hex << 11 <<
'\n';
64 std::cout << std::oct << 1 <<
'\n';
65 std::cout << std::oct << 11 <<
'\n';
66 std::cout << std::dec << 1 <<
'\n';
67 std::cout << std::dec << 11 <<
'\n';
68 std::cout << std::setbase(10) << 1 <<
'\n';
69 std::cout << std::setbase(10) << 11 <<
'\n';
71 std::cout << std::scientific << 3.14 <<
'\n';
72 std::cout << std::setprecision(2) << 3.14 <<
'\n';
74 std::cout << std::fixed << 3.14 <<
'\n';
75 std::cout << std::fixed << 3.14 <<
'\n';
77 std::cout << std::internal << 42 <<
'\n';
78 std::cout << std::left << 42 <<
'\n';
79 std::cout << std::right << 42 <<
'\n';
81 std::cout << std::setfill(
'0') << std::setw(10) << 10 << std::endl;
83 std::cout << std::endl;
84 std::cout << std::ends;
const void * view_as_pointer(const T val)