2006-08-25 Paolo Carlini <pcarlini@suse.de>
commit7c730f1fe0092a60a597ac42037faf68c4d0d9e8
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Aug 2006 16:02:23 +0000 (25 16:02 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Aug 2006 16:02:23 +0000 (25 16:02 +0000)
tree2706929ee99b7642eb8d567ba87f98f03c731103
parent5b4e745800ea05ed7e85f1337be053f91eb0b92c
2006-08-25  Paolo Carlini  <pcarlini@suse.de>

        * include/tr1/random (bernoulli_distribution::operator()): Fix
        wrt generators returning integers.
(uniform_int<>::_M_call): Add.
(uniform_int<>::operator()): Use it.

* include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
(_Adaptor<>::operator()): Allow for nonzero _M_g.min().

* include/tr1/random.tcc (linear_congruential<>::min, max):
Move inline...
(__mod): Move ...
* include/tr1/random: ... here.
(struct _Mod): Declare.

* include/tr1/random (struct _To_Unsigned_Type): Only declare,
move...
* include/tr1/random.tcc: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116402 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/random
libstdc++-v3/include/tr1/random.tcc