Represent a static object. A static class can't be instantiated (constructors are deleted).
- Namespace
- xtd
- Library
- xtd.core
- Examples
public:
static std::string
to_string() {
return "foo";}
};
Represent a static object. A static class can't be instantiated (constructors are deleted).
Definition static.h:20
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition to_string.h:41
- Examples
- static_object2.cpp.
The documentation for this class was generated from the following file: