NewLang Project
Yet another programm language
|
#include <variable.h>
Public Types | |
typedef R | VirtualFuncType(Args... args) |
Public Member Functions | |
VirtualFuncImpl (VirtualFuncType *func) | |
VirtualFuncImpl (std::initializer_list< VirtualFuncType * > list) | |
R | operator() (Args... args) |
VirtualFuncType * | override (VirtualFuncType *func) |
VirtualFuncType * | parent (VirtualFuncType *current) |
Шаблон для реализации произвольной функции, которую можно переопределять с сохранением предыдущей реализации в стеке.
Definition at line 291 of file variable.h.
typedef R newlang::VirtualFuncImpl< R, Args >::VirtualFuncType(Args... args) |
Definition at line 294 of file variable.h.
|
inlineexplicit |
Definition at line 296 of file variable.h.
|
inline |
Definition at line 300 of file variable.h.
|
inline |
Definition at line 306 of file variable.h.
References ASSERT.
|
inline |
Definition at line 311 of file variable.h.
References result.
|
inline |
Definition at line 317 of file variable.h.