STIR  6.3.0
Classes | Namespaces | Variables
type_traits.h File Reference

defines various type traits, checking for iterators etc More...

#include <type_traits>
#include "stir/common.h"

Go to the source code of this file.

Classes

struct  stir::has_iterator< T, typename >
 Helper to check if a type has an iterator typedef. More...
 
struct  stir::has_full_iterator< T, typename >
 Helper to check if a type has a full_iterator typedef (e.g. Array<2,int>) More...
 
struct  stir::has_iterator_and_no_full_iterator< T >
 Helper to check if the type has an iterator but no full_iterator typedef (e.g. std::vector<int>) More...
 

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Variables

template<typename T >
constexpr bool stir::has_iterator_v = has_iterator<T>::value
 Bool set to has_iterator<T>::value.
 
template<typename T >
constexpr bool stir::has_full_iterator_v = has_full_iterator<T>::value
 Bool set to has_full_iterator<T>::value.
 
template<typename T >
constexpr bool stir::has_iterator_and_no_full_iterator_v = has_iterator_and_no_full_iterator<T>::value
 Bool set to has_iterator_and_no_full_iterator<T>::value.
 

Detailed Description

defines various type traits, checking for iterators etc

Author
Kris Thielemans