catsfoot::term_generator_builder< Types > Struct Template Reference

Builds random term generators. More...

#include <random_term_generator.hh>

List of all members.

Classes

struct  generator

Public Member Functions

 term_generator_builder (size_t size=200u)
template<typename Generator , typename... Functions>
generator< Generator, typename
wrapped< Functions >::type...> 
operator() (Generator &g, Functions &&...functions) const
 Build a random term generator.

Detailed Description

template<typename... Types>
struct catsfoot::term_generator_builder< Types >

Builds random term generators.

Template Parameters:
TypesThe list of types it can generate

Member Function Documentation

template<typename... Types>
template<typename Generator , typename... Functions>
generator<Generator, typename wrapped<Functions>::type...> catsfoot::term_generator_builder< Types >::operator() ( Generator &  g,
Functions &&...  functions 
) const [inline]

Build a random term generator.

Parameters:
gA random generator engine.
functionsA list of functions.

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