weakTactic.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "../interface/instance.hpp"
5#include "bindTacticable.hpp"
6
7namespace by {
8
13 class _nout weakTactic: public bindTacticable {
15
16 public:
17 void rel(binder& me) override;
18
19 using super::bind;
20 nbool bind(binder& me, const instance& it) override;
21
22 public:
23 static me singleton;
24 };
25}
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
Weak reference binding tactic.
Definition: weakTactic.hpp:13