xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd::interface Class Reference

Represent an interface class. More...

#include <interface.h>

Inheritance diagram for xtd::interface:
Inheritance graph
Collaboration diagram for xtd::interface:
Collaboration graph

Detailed Description

Represent an interface class.

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";}
};

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