Represent an interface class.
- Namespace
- xtd
- Library
- xtd.core
- Examples
public:
};
public:
foo() = default;
std:
string to_string()
const override {
return "foo";}
};
Represent an interface class.
Definition interface.hpp:31
Provides a way to represent the current object as a string.
Definition istringable.hpp:22
virtual xtd::string to_string() const =0
Gets a string that represents the current object.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
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
- interface2.cpp.
The documentation for this class was generated from the following file: