Shows how to use xtd::using class.
#include <xtd/console>
#include <xtd/environment>
#include <xtd/using>
auto main() -> int {
using_(
auto values = {1, 2, 3, 4, 5})
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
#define using_(...)
The specified expression is cleared automatically when the scope is ended.
Definition using.hpp:33
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8