souffle  2.0.2-371-g6315b36
Data Structures | Functions
souffle::ram::detail Namespace Reference

Data Structures

struct  is_ram_visitor
 A type trait determining whether a given type is a visitor or not. More...
 
struct  is_ram_visitor< const T >
 
struct  is_ram_visitor< T & >
 
struct  LambdaVisitor
 A specialized visitor wrapping a lambda function – an auxiliary type required for visitor convenience functions. More...
 

Functions

template<typename R , typename N >
LambdaVisitor< R, N > makeLambdaVisitor (const std::function< R(const N &)> &fun)
 A factory function for creating LambdaVisitor instances. More...
 

Function Documentation

◆ makeLambdaVisitor()

template<typename R , typename N >
LambdaVisitor<R, N> souffle::ram::detail::makeLambdaVisitor ( const std::function< R(const N &)> &  fun)

A factory function for creating LambdaVisitor instances.

Definition at line 382 of file Visitor.h.

383  {
384  static constexpr size_t value = std::is_base_of<ram_visitor_tag, T>::value;

References souffle::ram::detail::is_ram_visitor< T >::value.