Module dlib.core.oop

Prototype-based OOP system for structs.

Description

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

Functions

NameDescription
hasMethod() Test if type (T) has specified method (m), local or derived
implements() Check if given type (T) corresponds to given signature (I)
tupleElemWithMember() Returns index of a tuple element which has specified member (s)

Templates

NameDescription
Inherit Inheritance mixin

Manifest constants

NameTypeDescription
isMethod Test if F is a method