$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] reference wrapper for Random Distribution?
From: er (erwann.rogard_at_[hidden])
Date: 2009-06-18 22:52:28
> 
> I am wondering if there already exists a reference wrapper for Random 
> Distribution. This would help in the following case:
All I needed was this (the bind part that is) ...
std::generate_n(
        iter,
        n,
        boost::bind<result_type>(
           boost::ref(rg)
        )
);