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";}
};
string to_string() const noexcept override
Returns the string representation of this xtd::read_only_span <type_t> object.
Definition read_only_span.hpp:375
- Examples
- static_object2.cpp.
The documentation for this class was generated from the following file: