Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
bertini::PointPool< NumT > Class Template Reference

#include <system.hpp>

Inheritance diagram for bertini::PointPool< NumT >:
[legend]
Collaboration diagram for bertini::PointPool< NumT >:
[legend]

Public Types

using HeldType
 The pointer type the pool holds.
using PoolHolderType
 The container of held pointers.

Static Public Member Functions

static HeldType NonPtrAdd (Vec< NumT > d)
 Add an object (by value) to the pool, returning the held pointer.
static HeldType PtrAdd (HeldType d)
 Add an already-held pointer to the pool, returning it.
static HeldType Make (Ts &&...ts)
 Construct an object in place in the pool, returning the held pointer.
static void PurgeCache ()
 Drop pooled objects that are no longer referenced anywhere else.

Member Typedef Documentation

◆ HeldType

using bertini::detail::Pool< Vec< NumT >, DefaultPointerPolicy<Vec< NumT >> >::HeldType
inherited

The pointer type the pool holds.

◆ PoolHolderType

using bertini::detail::Pool< Vec< NumT >, DefaultPointerPolicy<Vec< NumT >> >::PoolHolderType
inherited

The container of held pointers.

Member Function Documentation

◆ Make()

HeldType bertini::detail::Pool< Vec< NumT >, DefaultPointerPolicy<Vec< NumT >> >::Make ( Ts &&... ts)
inlinestaticinherited

Construct an object in place in the pool, returning the held pointer.

◆ NonPtrAdd()

HeldType bertini::detail::Pool< Vec< NumT >, DefaultPointerPolicy<Vec< NumT >> >::NonPtrAdd ( Vec< NumT > d)
inlinestaticinherited

Add an object (by value) to the pool, returning the held pointer.

◆ PtrAdd()

HeldType bertini::detail::Pool< Vec< NumT >, DefaultPointerPolicy<Vec< NumT >> >::PtrAdd ( HeldType d)
inlinestaticinherited

Add an already-held pointer to the pool, returning it.

◆ PurgeCache()

void bertini::detail::Pool< Vec< NumT >, DefaultPointerPolicy<Vec< NumT >> >::PurgeCache ( )
inlinestaticinherited

Drop pooled objects that are no longer referenced anywhere else.