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

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 451 of file stl_util.h.

#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 ()

Constructor & Destructor Documentation

◆ TemplatedValueDeleter() [1/2]

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

Definition at line 453 of file stl_util.h.

◆ ~TemplatedValueDeleter()

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

Definition at line 455 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: