xtd
0.2.0
Loading...
Searching...
No Matches
format_tuple.cpp
Show how to use format
xtd::format
class with std::tuple.
#include <xtd/xtd>
#include <tuple>
auto
main() ->
int
{
console::out << string::format(
"{}"
, std::make_tuple(1,
"one"
, .42)) << environment::new_line;
}
// This code produces the following output :
//
// (1, one, 0.42)
Generated on Sun Aug 31 2025 20:45:29 for xtd by
Gammasoft
. All rights reserved.