#include <static.h>
Represent a static object. A static class can't be instantiated (constructors are deleted).
- Namespace
- xtd
- Library
- xtd.core
- Examples
class foo : public static_object {
public:
static std::string
to_string() {
return "foo";}
};
- Examples:
- static_object2.cpp.
The documentation for this class was generated from the following file: