tr1 random

Stephen M. Webb stephen.webb@bregmasoft.com
Fri May 26 20:54:00 GMT 2006


Hey folks,

I've been trying to clean up my backlog of stuff and came across my attempt at 
the tr1::random stuff.  As a first draft of a submission I've removed the 
stuff I know doesn't yet work (subtract_with_carry_01 and some of the 
continuous distributions) on the grounds that a partial implementation is 
better than no implementation.  I'm posting this for a quick review, since 
it's been about a year since I wrote it so I'm probably missing something.  
I'm just trying to get the ball rolling here.

I'm also new to this subversion thing and trying to figure out how to get a 
proper diff, so here's a diff of the include/Makefile.am and a tarball of the 
new files including testsuite.

--- include/Makefile.am	(revision 114136)
+++ include/Makefile.am	(working copy)
@@ -512,6 +512,8 @@ tr1_headers = \
 	${tr1_srcdir}/math.h \
 	${tr1_srcdir}/memory \
 	${tr1_srcdir}/mu_iterate.h \
+	${tr1_srcdir}/random \
+	${tr1_srcdir}/random.tcc \
 	${tr1_srcdir}/ref_fwd.h \
 	${tr1_srcdir}/ref_wrap_iterate.h \
 	${tr1_srcdir}/repeat.h \

-- 
Stephen M. Webb
stephen.webb@bregmasoft.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random-src.tgz
Type: application/x-tgz
Size: 13387 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060526/dfd7b965/attachment.bin>


More information about the Libstdc++ mailing list