#include <xtd.core/include/xtd/static.h>
This keyword is use to represent a static object. A static object can't be instantiated (constructors are deleted).
- Namespace
- xtd
- Library
- xtd.core
- Examples
public:
static std::string to_string() {return "foo";}
};
#define static_object_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:53
- Examples
- static_object.cpp.