4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::random::wrapper::uniform_container< Container, IntDistribution > Class Template Reference

Public Types

using result_type = fcppt::container::to_reference_type<Container>
 
using param_type
 
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 = fcppt::random::distribution::parameters::uniform_int_wrapper>
using fcppt::random::wrapper::uniform_container< Container, IntDistribution >::container_reference = fcppt::reference<Container>

◆ param_type

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

◆ result_type

template<typename Container , typename IntDistribution = fcppt::random::distribution::parameters::uniform_int_wrapper>
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::distribution::parameters::uniform_int_wrapper>
fcppt::random::wrapper::uniform_container< Container, IntDistribution >::uniform_container ( container_reference ,
param_type const &  )

Member Function Documentation

◆ operator()()

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