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

Detailed Description

An object for clearing an object (invokes its method ".clear()") given a pointer or smart-pointer, intended for being used in STL algorithms.

Definition at line 54 of file metaprogramming.h.

#include <mrpt/utils/metaprogramming.h>

Public Member Functions

template<typename T >
void operator() (T &ptr)
 

Member Function Documentation

◆ operator()()

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

Definition at line 56 of file metaprogramming.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020