HasAtMethod< T, IdxT, typename std::enable_if< std::is_same< decltype(std::declval< T >().at(std::declval< IdxT >()), int {}), int >::value >::type > Struct Template Reference

Can be used to determine if T has an at method accepting a type of IdxT. More...

#include <ArmarXCore/util/CPPUtility/TemplateMetaProgramming.h>

+ Inheritance diagram for HasAtMethod< T, IdxT, typename std::enable_if< std::is_same< decltype(std::declval< T >().at(std::declval< IdxT >()), int {}), int >::value >::type >:

Detailed Description

template<class T, class IdxT>
struct armarx::meta::HasAtMethod< T, IdxT, typename std::enable_if< std::is_same< decltype(std::declval< T >().at(std::declval< IdxT >()), int {}), int >::value >::type >

Can be used to determine if T has an at method accepting a type of IdxT.

This is the specialization if there is a method

Definition at line 171 of file TemplateMetaProgramming.h.


The documentation for this struct was generated from the following file: