The following idea kept me awake last night. GOAL: Construct a system would allow an unlimited number of different units to be defined and still catch 99.9% of...
Dean Foster
foster@...
Oct 1, 2001 1:09 pm
18013
In an effort to cut down on inappropriate posts, we have just started moderating all first-time posters. We have also updated the welcome message that new...
David Abrahams
david.abrahams@...
Oct 1, 2001 1:29 pm
18014
... I like this idea very much, and have used it with Python's iterators. The only time I've used it in C++ was in implementing a very simple subset of XML --...
scleary@...
Oct 1, 2001 2:00 pm
18015
Another method that I have used is to create a class interface to your buffer which includes a copy constructor, maybe something along these lines (This is not...
daveh-lists@...
Oct 1, 2001 2:03 pm
18016
... We have released 1.2.0 release candidate 1 this morning, which can be downloaded from the following URL: ...
Dan Nuffer
dnuffer@...
Oct 1, 2001 2:51 pm
18017
... Sorry, the information above was from a short-lived old design. For the BufferedDataStream, rename "next()" to "discard()", then rename "consume()" to...
scleary@...
Oct 1, 2001 2:55 pm
18018
... Now I added several tests to operators_test.cpp, the new file can be found at http://groups.yahoo.com/group/boost/files/big_int/operators_test.zip I tested...
helmut.zeisel@...
Oct 1, 2001 3:00 pm
18019
Great idea. Would you care to post it at the boost-users Wiki? http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl ...
David Abrahams
david.abrahams@...
Oct 1, 2001 3:19 pm
18020
just out of curiosity was my post about needing help from C++ programmers to help me rewrite a DSO server considered spam? i hope not and if it was i am sorry ...
Avatar
avatar@...
Oct 1, 2001 3:39 pm
18021
Hello, All I need to pass C structs from C++ to python. What is the usual way of doing whis? Thanks Regards, Ivan <vig@...> ICQ: 22181170...
Ivan A. Vigasin
vig@...
Oct 1, 2001 3:54 pm
18022
I'll try and write something a little more comprehensive as this is a sample of a simple case. There is a more generic solution to the problem of pointers that...
daveh-lists@...
Oct 1, 2001 4:16 pm
18023
... From: Beman Dawes <bdawes@...> To: <boost@yahoogroups.com>; <boost@yahoogroups.com> Sent: Sunday, September 30, 2001 10:10 PM Subject: RE: [boost]...
Fernando Cacciola
fcacciola@...
Oct 1, 2001 4:18 pm
18024
Yes. I'd have thought http://groups.yahoo.com/group/boost/message/17997 made it clear, but anyway, apology accepted. -Dave ...
David Abrahams
david.abrahams@...
Oct 1, 2001 4:19 pm
18025
The simple solution is to just declare the members as read-write (see http://www.boost.org/libs/python/doc/special.html and look for def_read_write), unless...
daveh-lists@...
Oct 1, 2001 4:24 pm
18026
The simple solution is to just declare the members as read-write (see http://www.boost.org/libs/python/doc/special.html and look for def_read_write), unless...
daveh-lists@...
Oct 1, 2001 4:28 pm
18027
I want to let you all know that due to the favorable response to my earlier proposal about a user list, the list is being set up. We will go public soon, but...
Jon Kalb
jonkalb@...
Oct 1, 2001 4:39 pm
18028
As promised, I've uploaded to the vault a heavily modified version of Eric Ford's standard_functions.hpp, and a small pile of support files. They are located...
Kevin Lynch
krlynch@...
Oct 1, 2001 5:19 pm
18029
... From: Eric Ford <eford@...> To: <boost@yahoogroups.com> Sent: Friday, September 28, 2001 9:54 PM Subject: [boost] Re: Math Functions: Basic...
Fernando Cacciola
fcacciola@...
Oct 1, 2001 5:20 pm
18030
... First, my apologies for nitpicking something which is a side issue. The tradition in boost is to assume "compliant unless known to be otherwise". So the...
Darin Adler
darin@...
Oct 1, 2001 5:24 pm
18031
... Thanks ! ... I have C function, that accepts following struct as argument: struct Field { unsigned id; union { unsigned num; const char *name; }; unsigned...
Ivan A. Vigasin
vig@...
Oct 1, 2001 5:36 pm
18032
Unfortunately this type of use of pointers is not going to work. You are most likely going to have to wrap this particular struct up in a class and deal with...
daveh-lists@...
Oct 1, 2001 6:11 pm
18033
I attempted to post a more lengthly reply to this, but it seems it didn't come through. I'll be brief this time. If the other message never does come through...
Eric Ford
eford@...
Oct 1, 2001 6:33 pm
18034
... to ... until ... It will be in release 1.25.0, which should be available later today. --Beman...
Beman Dawes
bdawes@...
Oct 1, 2001 7:00 pm
18035
hi, I'm just look into the normal_distribution.hpp and see it's use sin and cos for calculating the result (use the Box-Muller Method), altough it can be...
Levente Farkas
lfarkas@...
Oct 1, 2001 7:01 pm
18036
Again, my first reply got lost. I'll try once more... ... and ... it ... mail). The relative speed on the two algorithsm depends upon the speed of the RNG and...
Eric Ford
eford@...
Oct 1, 2001 7:50 pm
18037
Hello! ... There are quite a few papers dealing this issue. The Polar Method is not even the fastest available, as far as I know. ... Strange. ... Looks ok at...
Jens Maurer
Jens.Maurer@...
Oct 1, 2001 7:54 pm
18038
... No, it is a matter of extensibility. If you hardwire in the number of basic units you have, rest assured, someone will find a situation where they need...
Dean Foster
foster@...
Oct 1, 2001 8:10 pm
18039
Boost release 1.25.0 is available at www.boost.org * Thread Library added. Portable C++ multi-programming at last, from William Kempf. * Base From Member added...
Beman Dawes
bdawes@...
Oct 1, 2001 8:14 pm
18040
... What about assigning a different prime number to each dimension, and representing multiplication of units as multiplication of the associated primes? This...
Ross Smith
ross.s@...
Oct 1, 2001 8:54 pm
18041
... This would be great espicially if we could work mod-a-prime. Using the GCD I think we can find the multiplicative inverse mod-a-prime. Then division can...