by::strTactic Class Reference

Strong reference binding tactic. More...

#include <strTactic.hpp>

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

Public Member Functions

void rel (binder &me) override
 
nbool bind (binder &me, const instance &it) override
 
- Public Member Functions inherited from by::weakTactic
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
 
- Static Public Attributes inherited from by::weakTactic
static me singleton
 

Detailed Description

Strong reference binding tactic.

Implements strong reference semantics where bound instances are kept alive as long as the binder exists. Extends weak tactic with reference counting.

Member Function Documentation

◆ bind()

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

Implements by::bindTacticable.

◆ rel()

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

Implements by::bindTacticable.


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