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

#include <interface.h>

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

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