3.6.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::random::wrapper::uniform_container< Container, IntDistribution > Class Template Reference

Public Types

using result_type = fcppt::container::to_reference_type< Container >
 
using param_type = fcppt::random::distribution::parameters::uniform_int< typename Container::size_type, IntDistribution >
 
using container_reference = fcppt::reference< Container >
 

Public Member Functions

 uniform_container (container_reference, param_type const &)
 
template<typename Generator >
result_type operator() (Generator &)
 

Member Typedef Documentation

◆ container_reference

template<typename Container , typename IntDistribution >
using fcppt::random::wrapper::uniform_container< Container, IntDistribution >::container_reference = fcppt::reference< Container >

◆ param_type

template<typename Container , typename IntDistribution >
using fcppt::random::wrapper::uniform_container< Container, IntDistribution >::param_type = fcppt::random::distribution::parameters::uniform_int< typename Container::size_type, IntDistribution >

◆ result_type

template<typename Container , typename IntDistribution >
using fcppt::random::wrapper::uniform_container< Container, IntDistribution >::result_type = fcppt::container::to_reference_type< Container >

Constructor & Destructor Documentation

◆ uniform_container()

template<typename Container , typename IntDistribution >
fcppt::random::wrapper::uniform_container< Container, IntDistribution >::uniform_container ( container_reference  ,
param_type const &   
)

Member Function Documentation

◆ operator()()

template<typename Container , typename IntDistribution >
template<typename Generator >
result_type fcppt::random::wrapper::uniform_container< Container, IntDistribution >::operator() ( Generator &  )