|
Boost Users : |
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)
)
);
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net