by::weakTactic Class Reference

Weak reference binding tactic. More...

#include <weakTactic.hpp>

Inheritance diagram for by::weakTactic:
by::bindTacticable by::strTactic by::immutableTactic

Public Member Functions

void rel (binder &me) override
 
nbool bind (binder &me, const instance &it) override
 
- Public Member Functions inherited from by::bindTacticable
nbool bind (binder &me, const instance *it) BY_SIDE_FUNC(it
 
nbool bind (me, *it)
 

Static Public Attributes

static me singleton
 

Detailed Description

Weak reference binding tactic.

Implements weak reference semantics where bound instances can be freed independently of the binder. Does not affect instance lifetime.

Member Function Documentation

◆ bind()

nbool by::weakTactic::bind ( binder me,
const instance it 
)
overridevirtual

Implements by::bindTacticable.

◆ rel()

void by::weakTactic::rel ( binder me)
overridevirtual

Implements by::bindTacticable.


The documentation for this class was generated from the following file: