dlib.core.oop

Prototype-based OOP system for structs.

Description: Supports multiple inheritance, parametric polymorphism (struct interfaces), interface inheritance

Members

Functions

hasMethod
bool hasMethod()

Test if type (T) has specified method (m), local or derived

tupleElemWithMember
size_t tupleElemWithMember()

Returns index of a tuple element which has specified member (s)

Mixin templates

Inherit
mixintemplate Inherit(PT...)

Inheritance mixin

Templates

isMethod
template isMethod(alias F)

Test if F is a method

Meta

Authors

Timur Gafarov