[boost] Filesystem library name

2003-01-15 Thread Steven Kirk
Hi, I have just build the filesystem for the first time from the current CVS state and I notice that the filesystem library is called "libfs.lib" on windows. Judging by the naming convention used by the other current boost libraries, shouldn't this library be called "libboost_filesystem.lib"? ___

[boost] Boost.Preprocessor: Token sequence to sequence conversionmacros.

2003-01-15 Thread Vesa Karvonen
Hi, The sequence data structure is very nice. One of the advantages is that it makes it possible to reduce syntactic clutter considerably compared to lists. Unfortunately, due to preprocessor limitations, one is limited to parenthesized expressions that do not contain top-level commas. For exa

Re: [boost] Boost.Preprocessor: A prototype pow(N,2) maxdirectiteration WHILE.

2003-01-15 Thread Vesa Karvonen
David Abrahams: Vesa Karvonen: > BTW, the same "acceleration" technique can be used with templates to > overcome template recursion depth limitations. Probably most people > know about it already, though I haven't explicitly checked. > (Plain unrolling is not as effective: Theta(k*n) < Theta(pow(

Re: [boost] Boost.Preprocessor: A prototype pow(N,2) maxdirectiteration WHILE.

2003-01-15 Thread David Abrahams
"Vesa Karvonen" <[EMAIL PROTECTED]> writes: > David Abrahams: >>Vesa Karvonen: >> > BTW, the same "acceleration" technique can be used with templates to >> > overcome template recursion depth limitations. Probably most people >> > know about it already, though I haven't explicitly checked. > (Plai

[boost] Re: Spirit and slow compile (from gmane.comp.lib.boost.devel)

2003-01-15 Thread Vincent Finn
Joel de Guzman wrote: - Original Message - From: <[EMAIL PROTECTED]> Hi, I was talking to you on the boost newsgroup about spirit being slow to compile Here is a standalone section of code, it'll compile but you can't do anything with it The compile takes about 15 mins on my machine (

Re: [boost] Re: Next revision of boost::thread &amp;amp;amp;amp;OS error code.

2003-01-15 Thread Peter Dimov
From: "William E. Kempf" <[EMAIL PROTECTED]> > Peter Dimov said: > > > > The fact that who() returns a function name is not important; it is not > > a "mini call stack". A function name is used as a token that identifies > > the point of failure. What failed? An attempt to open a file? An attempt >

Re: [boost] (RFC) make_shared name change

2003-01-15 Thread Peter Dimov
From: "David Abrahams" <[EMAIL PROTECTED]> > > So what about as_shared or to_shared? These are cast names. I'll think about it for a while. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Re: (RFC) make_shared name change

2003-01-15 Thread Peter Dimov
From: "Nicola Musatti" <[EMAIL PROTECTED]> > David Abrahams wrote: > > "Peter Dimov" <[EMAIL PROTECTED]> writes: > [...] > >>Of course you could do that as well, but my point is that the primary > >>purpose of make_* functions is argument deduction, and the primary purpose > >>of make_shared/get_sh

Re: [boost] operator new (size_t, ...)

2003-01-15 Thread Peter Dimov
From: "Philippe A. Bouchard" <[EMAIL PROTECTED]> > Greeting everyone, > > It seems placement operator new (size_t, ...) would extend a lot garbage > collection possibilities. Why don't we define a set of rules for each tag > this overloaded placed operator would use: > > shared_ptr(new int());

[boost] Boost.MPL: "Superlinear unrolling" to avoid recursion depthlimits

2003-01-15 Thread Vesa Karvonen
Hi, The following is an example of using "superlinear unrolling". It compiles with gcc version 2.95.4 20011002 (Debian prerelease) using the default settings (max template recursion depth should be 17). The example code essentially applies the inc template 262 times. The example code uses pa

Re: [boost] Boost.MPL: "Superlinear unrolling" to avoid recursiondepth limits

2003-01-15 Thread David Abrahams
"Vesa Karvonen" <[EMAIL PROTECTED]> writes: > It seems to be quite tricky to reach maximal iteration counts using > this technique. I think that others might have more insight into how > to tune the code for maximal iteration counts. What do you mean by "maximal iteration counts?" If you mean, "t

Re: [boost] Boost.MPL: "Superlinear unrolling" to avoid recursiondepth limits

2003-01-15 Thread Vesa Karvonen
David Abrahams: Vesa Karvonen: > It seems to be quite tricky to reach maximal iteration counts using > this technique. I think that others might have more insight into how > to tune the code for maximal iteration counts. What do you mean by "maximal iteration counts?" If you mean, "the maximum po

Re: [boost] Boost.MPL: "Superlinear unrolling" to avoid recursiondepth limits

2003-01-15 Thread David Abrahams
"Vesa Karvonen" <[EMAIL PROTECTED]> writes: >>What do you mean by "maximal iteration counts?" >>If you mean, "the maximum possible under a given depth limitation", >>then clearly there's no such number because you can always do more >>unrolling... so obviously you don't mean that. ;-) > > Well, on

Re: [boost] Re: Preliminary submission: command line & config filelibrary

2003-01-15 Thread Vladimir Prus
Gennadiy, About month ago, while working on Boost.Test issues I was faced with the need for the more or less full featured command line argument parser. I recall that you were working on one and took a look on some of your preliminary code in vault area. What code, specifically? The only think

[boost] proposal: safe arithmetic class

2003-01-15 Thread Thorsten Ottosen
Hi Boosters, I was wondering if it would be possible to implement a wrapper around built-in types to provide automatic detection of conversion problems: template< typename T > class safe_numeric : boost::operators< safe_numeric > { public: typedef boost::detail::fixed_numeric_limits result_t

[boost] GCC problem on Win32 random_test

2003-01-15 Thread Beman Dawes
On the Win32 random_test regression test, gcc is chewing up 1.2 gigs of virtual memory, then dying. See below. I'd appreciate it if one of the gcc experts who reads this list would report the problem to the gcc folks in the appropriate form. Also, random_test is failing other compilers, too. I

[boost] Re: operator new (size_t, ...)

2003-01-15 Thread Philippe A. Bouchard
"Peter Dimov" <[EMAIL PROTECTED]> wrote in message 00bc01c2bc89$d77fe5e0$1d00a8c0@pdimov2">news:00bc01c2bc89$d77fe5e0$1d00a8c0@pdimov2... > From: "Philippe A. Bouchard" <[EMAIL PROTECTED]> > > Greeting everyone, > > > > It seems placement operator new (size_t, ...) would extend a lot > garbage

RE: [boost] proposal: safe arithmetic class

2003-01-15 Thread Bjorn . Karlsson
> From: Thorsten Ottosen [mailto:[EMAIL PROTECTED]] > > Hi Boosters, > > I was wondering if it would be possible to implement a wrapper around > built-in types to provide automatic detection of conversion > problems: [snip] What would the advantage be over using boost::numeric_cast directly, an

[boost] Re: operator new (size_t, ...)

2003-01-15 Thread Philippe A. Bouchard
"David B. Held" <[EMAIL PROTECTED]> wrote in message b02kh4$7tp$[EMAIL PROTECTED]">news:b02kh4$7tp$[EMAIL PROTECTED]... > "Philippe A. Bouchard" <[EMAIL PROTECTED]> wrote in message > b02f0c$o1d$[EMAIL PROTECTED]">news:b02f0c$o1d$[EMAIL PROTECTED]... > > > > It seems placement operator new (si

Re: [boost] Filesystem library name

2003-01-15 Thread Beman Dawes
At 04:25 AM 1/15/2003, Steven Kirk wrote: >Hi, I have just build the filesystem for the first time from the current >CVS >state and I notice that the filesystem library is called "libfs.lib" on >windows. Judging by the naming convention used by the other current boost >libraries, shouldn't this li

[boost] Re: Re: Preliminary submission: command line & config filelibrary

2003-01-15 Thread Gennadiy Rozental
"Vladimir Prus" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Gennadiy, > > > About month ago, while working on Boost.Test issues I was faced with the > > need for the more or less full featured command line argument parser. I > > recall that you were working

RE: [boost] Boost.MPL: "Superlinear unrolling" to avoid recursion depth limits

2003-01-15 Thread Aleksey Gurtovoy
Vesa Karvonen wrote: > Hi, Hi Vesa, > > The following is an example of using "superlinear unrolling". > It compiles with > > gcc version 2.95.4 20011002 (Debian prerelease) > > using the default settings (max template recursion depth should be > 17). The example code essentially applies th

[boost] Re: Preliminary submission: command line & config filelibrary

2003-01-15 Thread Vladimir Prus
Gennadiy Rozental wrote: your submission: a) None of 5 compiler configurations installed on my XP could not compile it. :-( I've made some corrections recently. Did anything improve? I've tried version you announced yesteday. Hmm... can you provide error messages? Is it possible to take a

[boost] 1.30.0 Release Schedule?

2003-01-15 Thread Beman Dawes
It is time to start talking about the 1.30.0 release. I'd like to suggest that new libraries be committed (or merged) into the main CVS branch by the end of January, with the actual release two or three weeks later. How does that sound? --Beman ___

[boost] Re: proposal: safe arithmetic class

2003-01-15 Thread Thorsten Ottosen
<[EMAIL PROTECTED]> wrote in message 3D8559AE95B4D611B02C0002557C6C8B3C45BF@STH-EXCH">news:3D8559AE95B4D611B02C0002557C6C8B3C45BF@STH-EXCH... > > From: Thorsten Ottosen [mailto:[EMAIL PROTECTED]] > > > > Hi Boosters, > > > > I was wondering if it would be possible to implement a wrapper around > >

Re: [boost] GCC problem on Win32 random_test

2003-01-15 Thread David Abrahams
Beman Dawes <[EMAIL PROTECTED]> writes: > On the Win32 random_test regression test, gcc is chewing up 1.2 gigs > of virtual memory, then dying. See below. FWIW, it chews memory on every compiler. The test is just too big and needs to be split up. Trying to find workarounds for compiler problems

RE: [boost] Re: Spirit and slow compile (fromgmane.comp.lib.boost.devel)

2003-01-15 Thread Hartmut Kaiser
Vincent Finn wrote: > >>I was talking to you on the boost newsgroup about spirit > being slow to > >>compile Here is a standalone section of code, it'll compile but you > >>can't do anything with it The compile takes about 15 mins on my > >>machine (We are using spirit for a second file but that i

[boost] Re: Spirit and slow compile (from gmane.comp.lib.boost.devel)

2003-01-15 Thread Hartmut Kaiser
Sorry, I've missed an important detail (see below): > Vincent Finn wrote: > > > >>I was talking to you on the boost newsgroup about spirit > > being slow to > > >>compile Here is a standalone section of code, it'll > compile but you > > >>can't do anything with it The compile takes about 15 mins o

RE: [boost] Re: Preliminary submission: command line & config file library

2003-01-15 Thread Rozental, Gennadiy
> There are only syntactic differences with > > http://zigzag.cs.msu.su:7813/program_options/html/variables_map.html No. I don't think so. You present fixed rigid interface. In my case almost everything is optional. You don't have parameter description - you don't provide one. On the other han

RE: [boost] Re: Preliminary submission: command line & config file library

2003-01-15 Thread Rozental, Gennadiy
> Hmm... can you provide error messages? Will do later today. > I would say that it's a big question how much flexibility is > needed. My > position is that the command line should not go beyond > existing styles. Could you list all existent styles? Does your parser supported all of them? >

RE: [boost] Preliminary submission: command line & config file library

2003-01-15 Thread Rozental, Gennadiy
Now about config file feature. I have 2 major issues with your design. 1. You again placed 2 eggs into same basket. There are 2 levels of configuration file reading a) level that is responsible for comments lines, empty lines, continued lines, include, ifdef, defines and so on b) level

[boost] Web Browser CVS access

2003-01-15 Thread Paul A. Bristow
I have failed twice to get access via the CVS web browser, and also via command line, though I can log into sourceforge itself. Suggestions? Thanks Paul Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK +44 1539 561830 Mobile +44 7714 33 02 04 Mobile mailto:[EMAIL PROTECTED] mail

Re: [boost] Web Browser CVS access

2003-01-15 Thread Rene Rivera
[2003-01-15] Paul A. Bristow wrote: >I have failed twice to get access via the CVS web browser, and also via command >line, though I can log into sourceforge itself. > >Suggestions? Wait for SourceForge to fix their problems ;-) They seem to be having heavy packet loss to cvs.sourceforge.net, in

[boost] Re: Web Browser CVS access

2003-01-15 Thread David B. Held
"Rene Rivera" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [...] > Wait for SourceForge to fix their problems ;-) They seem to be having > heavy packet loss to cvs.sourceforge.net, in the range of 60% and more. Probably Microsoft is launching a DDOS attack to

Re: [boost] Web Browser CVS access

2003-01-15 Thread Beman Dawes
At 02:17 PM 1/15/2003, Paul A. Bristow wrote: >I have failed twice to get access via the CVS web browser, and also via >command line, though I can log into sourceforge itself. > >Suggestions? They have been having trouble for several days. The CVS status reports: Developer (SSH) CVS access onlin

[boost] Re: sockets library question

2003-01-15 Thread Michel André
> If you are interested, please comment on it. I would especially like to > know if the benefits of an Acceptor/Connector pattern would outweigh the > additional complexity involved (specifically, how much more complicated > the sample test.cpp file would get). Thanks! Basically the beginning woul

Re: [boost] Boost.Preprocessor: Token sequence to sequenceconversionmacros.

2003-01-15 Thread Paul Mensonides
- Original Message - From: "Vesa Karvonen" <[EMAIL PROTECTED]> Hi Vesa, > The implementation of RELATION_TO_SEQ() should not be very difficult, but > there is a quick incomplete implementation in this post, that can give some > ideas. A more generic "token sequence" to sequence conversion

RE: [boost] Web Browser CVS access

2003-01-15 Thread Paul A. Bristow
Thanks for this. I will try again later. Paul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Beman Dawes > Sent: Wednesday, January 15, 2003 8:26 PM > To: Boost mailing list; Boost > Subject: Re: [boost] Web Browser CVS access > > > At 02:17 PM 1/

[boost] placed_ptr<> -> shifted_ptr<> + operator new (size_t, gc)

2003-01-15 Thread Philippe A. Bouchard
I have renamed placed_ptr<> to shifted_ptr<> and added a placed operator new (size_t, gc) that can be used with shared_ptr<>: http://groups.yahoo.com/group/boost/files/shifted_ptr/ I agree that shifted_ptr<> makes more sense. Thanks Dave. Philippe A. Bouchard __

[boost] any_cast improvement

2003-01-15 Thread Unai Uribarri Rodríguez
I've modified any_cast to work properly with references. In the boos 1.29 implementation, a code like this: { any x=5; ++any_cast(x); } doesn't compile because any_cast tries to instantiate a pointer to int &. With the attached patch (which uses ::boost::remove_reference in boost/type_trai

[boost] any_cast improvement

2003-01-15 Thread Unai Uribarri Rodríguez
any_cast, as is implemented in boost 1.29, has one weakness; it doesn't allow to compile this piece of code: any x=int(5); ++any_cast(x); because any_cast tries to instanciate a pointer to int&. The attached patch solved this problem using boost::remove_reference from boost/type_traits.hpp

[boost] Re: placed_ptr<> -> shifted_ptr<> + operator new (size_t, gc)

2003-01-15 Thread David B. Held
"Philippe A. Bouchard" <[EMAIL PROTECTED]> wrote in message b04jar$uv4$[EMAIL PROTECTED]">news:b04jar$uv4$[EMAIL PROTECTED]... > I have renamed placed_ptr<> to shifted_ptr<> and added a placed > operator new (size_t, gc) that can be used with shared_ptr<>: > http://groups.yahoo.com/group/boost/file

Re: [boost] Boost.Preprocessor: Token sequence to sequence conversionmacros

2003-01-15 Thread Vesa Karvonen
Hi Paul, Paul Mensonides: > TOKEN_SEQ_TO_SEQ(FIRST, REST, IS_LAST, B o o s t SPACE 1 3 1) > ==> (B)(o)(o)(s)(t)(SPACE)(1)(3)(1) I already have something almost exactly like this in the high-precision arithmetic that haven't committed yet. Of course, you'd have to have a macro for every l

Re: [boost] Re: Preliminary submission: command line & config file library

2003-01-15 Thread Beman Dawes
At 10:43 AM 1/15/2003, Vladimir Prus wrote: >I don't know how to compare number of people who need command line to the >number of people who *also* need config file. I suppose that as your >program grows bigger, you're likely to need config file too. The transition >should be simple. I run int

[boost] Re: Re: Preliminary submission: command line & config file library

2003-01-15 Thread Gennadiy Rozental
> That's a long way of supporting Vladimir's views above. People first need > just command line arguments, then later realize a config file would be > nice. And yes, the transition should be simple and transparent. > > --Beman I do not argue that an ability to support other configuration means co

[boost] Re: placed_ptr<> -> shifted_ptr<> + operator new (size_t, gc)

2003-01-15 Thread Philippe A. Bouchard
"David B. Held" <[EMAIL PROTECTED]> wrote in message b04n9f$ik2$[EMAIL PROTECTED]">news:b04n9f$ik2$[EMAIL PROTECTED]... > [...] I don't see any documentation, except for what few > comments exist in the source. It isn't clear where you expect people to > use your pointer, or if there are usages

RE: [boost] Re: proposal: safe arithmetic class

2003-01-15 Thread Bjorn . Karlsson
> From: Thorsten Ottosen [mailto:[EMAIL PROTECTED]] > > What would the advantage be over using boost::numeric_cast > directly, and > > thus explicitly? > > you would't have to worry about if you forgot a numeric_cast > somewhere in > your code > or if you compiled on a platform with different r