Shows how to use static_object_ keyword.
#include <xtd/xtd>
namespace static_object_example {
public:
static string to_string() {return "program";}
};
}
auto main() -> int {
console::write_line(static_object_example::program::to_string());
}
#define static_object_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:53