ROSE 0.11.145.147
Classes | Typedefs | Variables
Rose::metaprog Namespace Reference

Description

Base algorithms for meta-programming.

Classes

struct  and_t
 
struct  is_list_t
 
struct  is_list_t< List< Ts... > >
 
struct  List
 A template list implementing a apply pattern (functor return void but does not have to be pure) More...
 
struct  List< Element, Elements... >
 
struct  list_base_t
 helper base class for metaprogramming list More...
 
struct  or_t
 
struct  tree_traversal_factory_t
 Build traversals for meta-tree. More...
 

Typedefs

template<typename T >
using enable_list = typename std::enable_if< is_list_t< T >::value >::type
 
template<typename T >
using disable_list = typename std::enable_if<!is_list_t< T >::value >::type
 

Variables

template<class C >
constexpr bool is_iterable = details::is_iterable_t<C>::value
 Detect STL-like containers.
 

Typedef Documentation

◆ enable_list

template<typename T >
using Rose::metaprog::enable_list = typedef typename std::enable_if<is_list_t<T>::value>::type

Definition at line 65 of file metaprog.h.

◆ disable_list

template<typename T >
using Rose::metaprog::disable_list = typedef typename std::enable_if<!is_list_t<T>::value>::type

Definition at line 66 of file metaprog.h.

Variable Documentation

◆ is_iterable

template<class C >
constexpr bool Rose::metaprog::is_iterable = details::is_iterable_t<C>::value
constexpr

Detect STL-like containers.

Definition at line 227 of file metaprog.h.