Rcpp Version 1.0.0
Rcpp::traits::has_iterator< T > Struct Template Reference

#include <has_iterator.h>

Inheritance diagram for Rcpp::traits::has_iterator< T >:
Collaboration diagram for Rcpp::traits::has_iterator< T >:

Additional Inherited Members

- Public Types inherited from Rcpp::traits::integral_constant< bool, _has_iterator_helper< T >::value >
typedef bool value_type
typedef integral_constant< bool, _V > type
- Static Public Attributes inherited from Rcpp::traits::integral_constant< bool, _has_iterator_helper< T >::value >
static const bool value

Detailed Description

template<typename T>
struct Rcpp::traits::has_iterator< T >

uses the SFINAE idiom to check if a class has an nested iterator typedef. For example :

has_iterator< std::vector<int> >::value is true has_iterator< Rcpp::Symbol >::value is false

Definition at line 103 of file has_iterator.h.

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