Re: Non-copyable KnuthUniformRng

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Non-copyable-KnuthUniformRng-tp8866p8867.html

On Fri, 2010-10-29 at 17:23 -0400, Slava Mazur wrote:
> The following declaration in KnuthUniformRng effectively makes this
> class non-copyable:
>
> std::vector<double>::const_iterator ranf_arr_ptr, _arr_sentinel;

You're right.  Indices instead of iterators are fine with me.

Thanks,
        Luigi



--

Weiler's Law:
Nothing is impossible for the man who doesn't have to
do it himself.



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev