CppADCodeGen  HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
CppAD::cg::SmartSetPointer< Base > Class Template Reference
Collaboration diagram for CppAD::cg::SmartSetPointer< Base >:
Collaboration graph

Public Types

using iterator = typename std::set< Base * >::iterator
 

Public Member Functions

 SmartSetPointer (std::set< Base *> &s_)
 
size_t size () const
 
bool empty () const
 
iterator begin () const
 
iterator end () const
 
std::pair< iterator, bool > insert (Base *x)
 
void erase (iterator pos)
 
size_t erase (Base *x)
 
std::set< Base * > release ()
 

Public Attributes

std::set< Base * > s
 

Detailed Description

template<class Base>
class CppAD::cg::SmartSetPointer< Base >

Smart set of pointers. Deletes all set values on destruction.

Definition at line 119 of file smart_containers.hpp.


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