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

#include <stl_util.h>

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

Public Member Functions

 TemplatedElementDeleter (STLContainer *ptr)
 
virtual ~TemplatedElementDeleter ()
 
 TemplatedElementDeleter (const TemplatedElementDeleter &)=delete
 
void operator= (const TemplatedElementDeleter &)=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::TemplatedElementDeleter< STLContainer >

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

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

Definition at line 408 of file stl_util.h.

Constructor & Destructor Documentation

◆ TemplatedElementDeleter() [1/2]

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

Definition at line 410 of file stl_util.h.

◆ ~TemplatedElementDeleter()

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

Definition at line 412 of file stl_util.h.

◆ TemplatedElementDeleter() [2/2]

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

Member Function Documentation

◆ operator=()

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

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