Function object that clones a pointer. More...
#include <functional.hpp>
Public Types | |
using | argument_type = const T* |
using | result_type = T* |
Public Member Functions | |
T * | operator() (const T *a) const |
Function object that clones a pointer.
Template arguments:
int
, not int*
.Definition at line 296 of file functional.hpp.
using claw::clone< T >::argument_type = const T* |
Definition at line 299 of file functional.hpp.
using claw::clone< T >::result_type = T* |
Definition at line 300 of file functional.hpp.
|
inline |
Definition at line 303 of file functional.hpp.