xtd 0.2.0
xtd::interface Class Reference

Definition

Represent an interface class.

Namespace
xtd
Library
xtd.core
Examples
class istringable : public interface {
public:
virtual std::string to_string() const = 0;
};
class foo : public istringable {
public:
foo() = default;
std:string to_string() const override {return "foo";}
};
Examples:
interface2.cpp.

The documentation for this class was generated from the following file: