xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
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";}
};
Represent an interface class.
Definition interface.h:30
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< guid >, xtd::icomparable< version >, xtd::iequatable< guid >, xtd::iequatable< ip_address >, 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: