Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gtl::TemplatedValueDeleter< STLContainer > Class Template Reference

#include <stl_util.h>

Inheritance diagram for gtl::TemplatedValueDeleter< STLContainer >:
gtl::BaseDeleter

Public Member Functions

 TemplatedValueDeleter (STLContainer *ptr)
 
virtual ~TemplatedValueDeleter ()
 
 TemplatedValueDeleter (const TemplatedValueDeleter &)=delete
 
void operator= (const TemplatedValueDeleter &)=delete
 
- Public Member Functions inherited from gtl::BaseDeleter
virtual ~BaseDeleter ()
 
 BaseDeleter (const BaseDeleter &)=delete
 
void operator= (const BaseDeleter &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from gtl::BaseDeleter
 BaseDeleter ()
 

Detailed Description

template<typename STLContainer>
class gtl::TemplatedValueDeleter< STLContainer >

Given a pointer to an STL container this class will delete all the value pointers when it goes out of scope.

Clients should NOT use this class directly. Use ValueDeleter instead.

Definition at line 454 of file stl_util.h.

Constructor & Destructor Documentation

◆ TemplatedValueDeleter() [1/2]

template<typename STLContainer >
gtl::TemplatedValueDeleter< STLContainer >::TemplatedValueDeleter ( STLContainer * ptr)
inlineexplicit

Definition at line 456 of file stl_util.h.

◆ ~TemplatedValueDeleter()

template<typename STLContainer >
virtual gtl::TemplatedValueDeleter< STLContainer >::~TemplatedValueDeleter ( )
inlinevirtual

Definition at line 458 of file stl_util.h.

◆ TemplatedValueDeleter() [2/2]

template<typename STLContainer >
gtl::TemplatedValueDeleter< STLContainer >::TemplatedValueDeleter ( const TemplatedValueDeleter< STLContainer > & )
delete

Member Function Documentation

◆ operator=()

template<typename STLContainer >
void gtl::TemplatedValueDeleter< STLContainer >::operator= ( const TemplatedValueDeleter< STLContainer > & )
delete

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