The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta_traits< T > Class Template Reference

Public Types

enum  { is_smartptr = sizeof(hasGetMethod<T>(0)) == sizeof(yep) }
 Has a value of true if T responds to -> operator. More...
 
enum  { stl_smartptr = !std::is_void<decltype(hasPointerOperator<T>(0))>::value }
 
enum  { stl_iterable = !std::is_void<decltype(hasIterator<T>(0))>::value }
 

Detailed Description

template<typename T>
class sparta_traits< T >

Definition at line 16 of file Traits.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum

Has a value of true if T responds to -> operator.

Definition at line 36 of file Traits.hpp.

◆ anonymous enum

template<typename T >
anonymous enum

Definition at line 37 of file Traits.hpp.

◆ anonymous enum

template<typename T >
anonymous enum

Definition at line 38 of file Traits.hpp.


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