claw 1.8.2
 
Loading...
Searching...
No Matches
claw::clone< T > Class Template Reference

Function object that clones a pointer. More...

#include <functional.hpp>

Inheritance diagram for claw::clone< T >:
Collaboration diagram for claw::clone< T >:

Public Member Functions

T * operator() (const T *a) const
 

Detailed Description

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

Function object that clones a pointer.

Template arguments:

  • T The pointed type (ie. int, not int*.
Remarks
Use this function object to copy your container of pointers.
Author
Julien Jorge

Definition at line 268 of file functional.hpp.

Member Function Documentation

◆ operator()()

template<typename T>
T * claw::clone< T >::operator() ( const T * a) const
inline

Definition at line 271 of file functional.hpp.


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