xtd - Reference Guide  0.1.1
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";}
};
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:37

Inherited by xtd::icomparable< version >, xtd::icomparable< guid >, xtd::iequatable< ip_address >, xtd::iequatable< guid >, xtd::forms::ibutton_control, xtd::forms::icontrol_trace, xtd::forms::imessage_filter, xtd::forms::iwin32_window, xtd::iasync_result, xtd::icomparable< type_t >, and xtd::iequatable< type_t >.


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