This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/55169] std::discrete_distribution::operator(generator&) makes unnecessary copy of parameter vector


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55169

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-11-02 10:45:40 UTC ---
Author: paolo
Date: Fri Nov  2 10:45:25 2012
New Revision: 193092

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193092
Log:
2012-11-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/55169
    * include/bits/random.h: Remove all uses of param().
    (chi_squared_distribution<>::__generate_impl(_ForwardIterator,
    _ForwardIterator, _UniformRandomNumberGenerator&): Declare
    * include/bits/random.tcc: ... define.
    * include/ext/random: Remove all uses of param().

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/random.h
    trunk/libstdc++-v3/include/bits/random.tcc
    trunk/libstdc++-v3/include/ext/random


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]