claw 1.9.0
 
Loading...
Searching...
No Matches
claw::delete_function< T > Class Template Reference

Function object that deletes a pointer. More...

#include <functional.hpp>

Public Types

using argument_type = const T&
 
using result_type = void
 

Public Member Functions

void operator() (const T &a) const
 

Detailed Description

template<typename T>
class claw::delete_function< T >

Function object that deletes a pointer.

Template arguments:

  • T The pointer type.
Remarks
Use this function object to clear your container of pointers.
Author
Julien Jorge

Definition at line 273 of file functional.hpp.

Member Typedef Documentation

◆ argument_type

template<typename T>
using claw::delete_function< T >::argument_type = const T&

Definition at line 276 of file functional.hpp.

◆ result_type

template<typename T>
using claw::delete_function< T >::result_type = void

Definition at line 277 of file functional.hpp.

Member Function Documentation

◆ operator()()

template<typename T>
void claw::delete_function< T >::operator() ( const T & a) const
inline

Definition at line 280 of file functional.hpp.


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