Main MRPT website > C++ reference for MRPT 1.5.5
List of all members | Public Types | Public Member Functions
mrpt::utils::metaprogramming::ObjectClearUnique< T > Struct Template Reference

Detailed Description

template<typename T>
struct mrpt::utils::metaprogramming::ObjectClearUnique< T >

An object for making smart pointers unique (ie, making copies if necessary), intended for being used in STL algorithms.

Definition at line 107 of file metaprogramming.h.

#include <mrpt/utils/metaprogramming.h>

Public Types

typedef T argument_type
 
typedef void result_type
 

Public Member Functions

void operator() (T &ptr)
 

Member Typedef Documentation

◆ argument_type

template<typename T>
typedef T mrpt::utils::metaprogramming::ObjectClearUnique< T >::argument_type

Definition at line 108 of file metaprogramming.h.

◆ result_type

Definition at line 109 of file metaprogramming.h.

Member Function Documentation

◆ operator()()

template<typename T>
void mrpt::utils::metaprogramming::ObjectClearUnique< T >::operator() ( T &  ptr)
inline

Definition at line 110 of file metaprogramming.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019