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

Detailed Description

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

Definition at line 62 of file metaprogramming.h.

#include <mrpt/utils/metaprogramming.h>

Public Member Functions

template<typename T >
void operator() (T obj)

Member Function Documentation

◆ operator()()

template<typename T >
void mrpt::utils::metaprogramming::ObjectClearSecond::operator() ( obj)

Definition at line 64 of file metaprogramming.h.

Page generated by Doxygen 1.8.14 for MRPT 1.5.8 Git: f67d0f871 Wed Sep 25 18:32:17 2019 +0200 at lun oct 28 01:58:29 CET 2019