All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::detail::NoopDeleter< T > Struct Template Reference

Custom deleter that does not delete anything. More...

#include <roboptim/core/util.hh>

Public Member Functions

void operator() (const T *) const
 

Detailed Description

template<typename T>
struct roboptim::detail::NoopDeleter< T >

Custom deleter that does not delete anything.

This can be used when creating a shared_ptr from a reference, although this should be used with great care...

Member Function Documentation

template<typename T >
void roboptim::detail::NoopDeleter< T >::operator() ( const T *  ) const
inline