xtd 0.2.0
Loading...
Searching...
No Matches
format.cpp

Show how to use format xtd::format class.

#include <xtd/xtd>
auto main() -> int {
console::out << string::format("{} {} {} {}", "string"_s, "literal", 42, 'a') << environment::new_line;
}
// This code produces the following output :
//
// string literal 42 a