Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Types | Public Member Functions
mrpt::utils::metaprogramming::ObjectMakeUnique Struct Reference

Detailed Description

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

Definition at line 87 of file metaprogramming.h.

#include <mrpt/utils/metaprogramming.h>

Public Types

typedef mrpt::utils::CObjectPtr argument_type
 
typedef void result_type
 

Public Member Functions

void operator() (mrpt::utils::CObjectPtr &ptr)
 

Member Typedef Documentation

◆ argument_type

Definition at line 88 of file metaprogramming.h.

◆ result_type

Definition at line 89 of file metaprogramming.h.

Member Function Documentation

◆ operator()()

void mrpt::utils::metaprogramming::ObjectMakeUnique::operator() ( mrpt::utils::CObjectPtr ptr)
inline

Definition at line 90 of file metaprogramming.h.

References mrpt::utils::CObjectPtr::make_unique().




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019