bindTacticable.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "memlite/common.hpp"
5
6namespace by {
7
8 class binder;
9 class instance;
10
15 class _nout bindTacticable {
16 public:
17 virtual void rel(binder& me) = 0;
18 virtual nbool bind(binder& me, const instance& it) = 0;
19 nbool bind(binder& me, const instance* it) BY_SIDE_FUNC(it, bind(me, *it), false)
20 };
21}
Interface for binding tactics in memory management.
Definition: bindTacticable.hpp:15
Smart pointer with loose type checking and lifetime management.
Definition: binder.hpp:53
Base class for all managed instances in memlite system.
Definition: instance.hpp:20