Polymake Template Library (PTL): pm::shared_pointer< Object, TParams > Class Template Reference
pm::shared_pointer< Object, TParams > Class Template Reference
Inheritance diagram for pm::shared_pointer< Object, TParams >:
Collaboration diagram for pm::shared_pointer< Object, TParams >:

Public Member Functions

shared_objectreplace (TArgs &&...args)
 Detach or delete the old instance, create a new one from given arguments.
 
shared_objectassign_copy (const shared_object &s)
 Enforce an own copy of the given object.
 

Detailed Description

template<typename Object, typename... TParams>
class pm::shared_pointer< Object, TParams >

Like in boost, but not MT-safe (and hence without overhead)


The documentation for this class was generated from the following file:
  • lib/core/include/internal/shared_object.h