[boost] Re: Filesystem: basename

2003-08-09 Thread David Abrahams
Beman Dawes [EMAIL PROTECTED] writes: At 11:32 AM 8/6/2003, David Abrahams wrote: I think this is a badly-chosen name. Both POSIX and Python have a basename function which does roughly what our leaf() function does. ... I don't think we should use creative naming in cases like

[boost] Re: [regex] Escaping a search string?

2003-08-09 Thread Edward Diener
Daniel Frey wrote: Edward Diener wrote: You can turn on the literal flag type. All characters in your regular expression are treated as literals. That doesn't help. Maybe an example clarifies what I need: std::string s = 1.30.0; boost::regex r( ^(.*)\s+(?:[Vv](?:ersion)?\s+ + s + )\s*$ );

[boost] Re: UI++ [was: GUI sublanguage;Re: Re: Re: Re: GUI/GDI template library]

2003-08-09 Thread Bo Persson
Philippe A. Bouchard [EMAIL PROTECTED] wrote: Yeah I like Notus (kinda looks like Lotus). Exactly. Have you considered your reply when IBM's lawyers contact you over a possible trademark infringement? I immediately associated the name with Lotus Notes - I am sure they will to if Notus turns

[boost] SRPM 1.30.1 available

2003-08-09 Thread Neal D. Becker
I have modified the 1.30.0 SRPM for 1.30.1. Pretty simple, except you need a patch to fix the version number or the RPM build will fail. Should I upload the SRPM somewhere? pgp0.pgp Description: signature

[boost] Re: Boost 1.31 release?

2003-08-09 Thread David Abrahams
Aleksey Gurtovoy [EMAIL PROTECTED] writes: David Abrahams wrote: Matthias Troyer [EMAIL PROTECTED] writes: Dear Boosters, Since some of the applications and libraries we plan on releasing soon rely on Boost features and bugfixes that are in the CVS but not in Boost 1.30.[012] I

RE: Re: Re: [boost] GUI/GDI template library

2003-08-09 Thread E. Gladyshev
--- Brock Peabody [EMAIL PROTECTED] wrote: That might be a better way to go. I just don't know enough about GUI systems other than MFC to be able to envision what a scheme like that would look like or if it would succeed. You might save a lot of work coming up with a single low-level

Re: [boost] Re: [regex] Escaping a search string?

2003-08-09 Thread John Maddock
Front end localization could change this also, I believe. For instance if a dll or message catalog substitutes '!' for '$' wouldn't I need to escape '!' instead of '$' in order to use '!' as a literal in an expression ? Yes, I was afraid you would bring that up :-) In this regard it would

Re: [boost] [regex] Escaping a search string?

2003-08-09 Thread George A. Heintzelman
Given that I have a string 's' from somewhere, I'd like to create a regular expression where some part must match that string. The problem is, the 's' could contain characters that have a special meaning in regular expressions. Is there some support function that can provide an escaped

Re: [boost] Re: UI++ [was: GUI sublanguage;Re: Re: Re: Re: GUI/GDI template library]

2003-08-09 Thread brock
- Original Message - From: Beman Dawes [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED]; 'Boost mailing list' [EMAIL PROTECTED] Sent: Saturday, August 09, 2003 8:31 AM Subject: RE: [boost] Re: UI++ [was: GUI sublanguage; Re: Re: Re: Re: GUI/GDI template library] At 09:27 AM

[boost] Re: Re: [regex] Escaping a search string?

2003-08-09 Thread Edward Diener
John Maddock wrote: Front end localization could change this also, I believe. For instance if a dll or message catalog substitutes '!' for '$' wouldn't I need to escape '!' instead of '$' in order to use '!' as a literal in an expression ? Yes, I was afraid you would bring that up :-)

[boost] Re: filesystem feature request

2003-08-09 Thread Pavel Vozenilek
From: David Abrahams [EMAIL PROTECTED] I need the ability to do interprocess synchronization through file locking, c.f. Java.File.createNewFile and Java.File.deleteOnExit: ... On Posix, the first one would be done with open(..., O_CREAT | O_EXCL) and the second, I suppose, would be done

[boost] Re: what happened to allocators in boost?

2003-08-09 Thread townerj
- Original Message - From: Douglas Gregor [EMAIL PROTECTED] Newsgroups: gmane.comp.lib.boost.devel Sent: Tuesday, August 05, 2003 8:32 PM Subject: Re: what happened to allocators in boost? The allocator design focused on the benefits one could get from specialized allocators for

RE: [boost] Re: Re: GUI/GDI template library

2003-08-09 Thread Rozental, Gennadiy
Now that the interest for this kind of library has been shown (or not, whatever) could the interested parties please coordinate their efforts using other means than boost mailing list? IIUC this list is for issues with existing code (problems, usage patterns etc) and for submissions that

[boost] Re: swappable user defined types and STLport libraries

2003-08-09 Thread David Abrahams
Alisdair Meredith [EMAIL PROTECTED] writes: There is a problem with the Borland BCB6 compiler specializing std::swap for user defined types when using the STLport standard library. This may apply to other compilers using the library as well, but only have experience with Borland. An

[boost] Building header files with bjam

2003-08-09 Thread Paul Hamilton
I have a need to generate header files which are then subsequently used in a source file and built. If i have a file called xxx.y, which is used as an input to a program to generate xxx.hpp, and xxx.hpp is included in xxx.cpp I should (I thought) be able to do something like this: rule Tangle

ublas and gcc (was: Re: [boost] Re: Compiler status for GCC 3.3)

2003-08-09 Thread Joerg Walter
Hi Gabriel, you wrote: | On the other hand if your native compiler is GCC and your system was | not configured with that setting, then you may get into trouble -- | since you'll be mixing translation units with different ABIs. | | Furthermore, that sounds like a workaround. Isn't

[boost] Re: UI++ [was: GUI sublanguage;Re: GUI/GDI templatelibrary]

2003-08-09 Thread David B. Held
Rob Lori [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] Sigh, it sounds like pretty much everyone is of this same opinion. Sure it makes a nice C++ interface, but it doesn't allow much extensibility, [...] Yeah, but it depends on what our goals are in the future.

[boost] Re: Boost 1.31 release?

2003-08-09 Thread David Abrahams
Aleksey Gurtovoy [EMAIL PROTECTED] writes: David Abrahams wrote: Matthias Troyer [EMAIL PROTECTED] writes: Dear Boosters, Since some of the applications and libraries we plan on releasing soon rely on Boost features and bugfixes that are in the CVS but not in Boost 1.30.[012] I

Re: [boost] bind and lambda don't work together?

2003-08-09 Thread Richard Smith
Victor A. Wagner, Jr. wrote: I finally had a chance to go back and look at an attempt to use lambda in one of my commercial endeavors. It turns out that I was getting ambiguous _1 with my compiler (VC.net2003) between lambda and bind. Boost.lambda places _1 in the boost::lambda namespace.

[boost] Re: UI++ [was: GUI sublanguage; Re: GUI/GDI template library]

2003-08-09 Thread Alec Ross
That reminds me of something I was thinking about your post on wxWindows. Someone could always write a 'driver' targeting wxWindows if they want quick access to all of the platforms it supports and don't mind the LGPL. Brock Not _exactly_ LGPL. To quote from the wxWindows (2.4.0)

RE: [boost] Re: Re: Re: GUI sublanguage ?

2003-08-09 Thread Brock Peabody
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of E. Gladyshev Sent: Thursday, August 07, 2003 10:51 AM To: Boost mailing list Subject: Re: [boost] Re: Re: Re: GUI sublanguage ? [...] I think the library should be scaleable in respect to the

Re: [boost] switch-based runtime type selection (for variant)

2003-08-09 Thread Aleksey Gurtovoy
Brian Simpson wrote: The implementation reasoning runs like this: It seems that the problem with building a switch statement to implement type selection is that a switch statement can't be built incrementally--it is a syntactic construct. (The currently accepted solution builds an

Re: [boost] Re: time_duration bug in Boost 1.30.0

2003-08-09 Thread Jeff Garland
On Wed, 6 Aug 2003 10:11:20 -0700, Stephan T. Lavavej wrote [Jeff Garland] The downside of this is that when you are printing a time duration: std::cout td.hours() ':' td.minutes() ':' td.seconds(); you have to take remove the sign from the minutes and seconds. I have a third

Re: [boost] ABI fixing and prefix/suffix headers (was theboost::signalsample crashes)

2003-08-09 Thread Thomas Witt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Maddock wrote: | | One final point - there was a reason that I moved regex to use automatic | library selection and ABI fixing - without it I was getting a tonne of | support requests along the lines of Your library doesn't work, it just | crashes

Re: [boost] GUI/GDI template library

2003-08-09 Thread Gregory Colvin
Perhaps Perseus, who slew the Medusa, the snake-haired monster of so frightful an aspect that no living thing could behold her without being turned into stone. Perseus avoid being turned to stone by clever use of indirection -- he avoided looking directly at Medusa, instead looking only at her

[boost] Insufficient significant digits using lexical_cast

2003-08-09 Thread Paul A. Bristow
I note that the 'precision' number of digits in lexical cast is obtained from digits10 +1 if(std::numeric_limitsTarget::is_specialized) { stream.precision(std::numeric_limitsTarget::digits10 + 1); } If, as I believe correct, the objective is to get all digits that can be significant,

[boost] Re: UI++ [was: GUI sublanguage;Re: GUI/GDI templatelibrary]

2003-08-09 Thread Philippe A. Bouchard
David B. Held wrote: [...] Well, honestly, I can't wrap my head around the big vision for how this thing is proposed to get implemented, so maybe I don't know what I'm talking about here. But it seems to me that Layer 0 for existing GUIs could be designed in such a way that you could offer

Re: [boost] what happened to allocators in boost?

2003-08-09 Thread Douglas Gregor
- Original Message - From: E. Gladyshev [EMAIL PROTECTED] I am wondering what happened to the allocator idiom in boost. Was it left out intentially? I can control all memory allocation details in STL (orthogonally to data types) but not in boost. It seems like a step backward

Re: [boost] Iterator adaptor question

2003-08-09 Thread Thomas Witt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neal, Neal D. Becker wrote: | Some time back I mentioned I was interested in iterator adaptors to convert | between vectors of complex and scalar. I have looked at using the iterator | adaptor framework in boost. It appears that it is easy enough

RE: [boost] GUI/GDI template library

2003-08-09 Thread Brock Peabody
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of E. Gladyshev Sent: Wednesday, August 06, 2003 11:33 AM To: Boost mailing list Subject: RE: [boost] GUI/GDI template library [...] To the method 1 pros list: - More user friendly. If the user

[boost] RC_1_30_2 tagged for release

2003-08-09 Thread David Abrahams
It appears that the tagging step for Version_1_30_1 got messed up somehow. Please have a look at RC_1_30_2, which is our release candidate for Version 1_30_2, and let me know if there are any problems. Thanks, Dave -- Dave Abrahams Boost Consulting www.boost-consulting.com