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

Public Types

using iterator = typename std::list< Base * >::iterator
 
using const_iterator = typename std::list< Base * >::const_iterator
 

Public Member Functions

 SmartListPointer (const std::set< Base *> &l_)
 
size_t size () const
 
bool empty () const
 
void push_front (Base *x)
 
void pop_front ()
 
void push_back (Base *x)
 
void pop_back ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
std::list< Base * > release ()
 

Public Attributes

std::list< Base * > l
 

Detailed Description

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

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

Definition at line 193 of file declare_cg.hpp.


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