welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::detail::keep_alive_pair Struct Reference

A keep_alive lifetime dependency: a (nurse, patient) index pair. More...

#include <welder/bind_traits.hpp>

Public Attributes

unsigned nurse
 The keeper whose collection bounds the dependency.
unsigned patient
 The dependant kept alive until the nurse is collected.

Detailed Description

A keep_alive lifetime dependency: a (nurse, patient) index pair.

Definition at line 66 of file bind_traits.hpp.

Member Data Documentation

◆ nurse

unsigned welder::detail::keep_alive_pair::nurse

The keeper whose collection bounds the dependency.

Definition at line 67 of file bind_traits.hpp.

◆ patient

unsigned welder::detail::keep_alive_pair::patient

The dependant kept alive until the nurse is collected.

Definition at line 68 of file bind_traits.hpp.


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