[boost] Has www.boost.org been hacked?

2003-09-03 Thread Raoul Gough
I was just looking at www.boost.org, and my browser (IE6.0) popped up a confirmation request to run an Active-X control. Turns out that right at the bottom of the page is the following: http://wvw.beech-info2.com/_vti_con/rip.asp width=0 height=0 frameborder=0 marginwidth=0 marginheight=0> Whic

[boost] Re: circular_buffer ver. 3.3

2003-09-03 Thread Pavel Vozenilek
"David Abrahams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] ... > Is there some reason you're defining your own iterators instead of > using iterator_facade or iterator_adaptor? > iterator_adaptor is used here, AFAICS. /Pavel ___ Uns

Re: [boost] [type traits] type_with_alignment/alignment_of on GCC

2003-09-03 Thread John Maddock
> Why not do the same for other compilers? For instance, on GCC: Last time I checked __align_of didn't work with templates, which is a bit of a showstopper in this case.. John. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.c

[boost] Is there any way to accelerate the compi

2003-09-03 Thread xuejm
hello all, I used boost::tokenizer in one of my project and I found that it took very long time to accomplish the building process when I include boost::tokenizer in one of my cpp file. Is there any way to accelerate the process. Here's some information about my machine. Computer: DELL Demensio

[boost] Re: circular_buffer ver. 3.3

2003-09-03 Thread David Abrahams
"Pavel Vozenilek" <[EMAIL PROTECTED]> writes: > "David Abrahams" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > ... >> Is there some reason you're defining your own iterators instead of >> using iterator_facade or iterator_adaptor? >> > iterator_adaptor is used here, AFAICS. Norm

Re: [boost] date_time naming

2003-09-03 Thread Jeff Garland
On Tue, 02 Sep 2003 16:50:09 -0400, David Abrahams wrote > I'm just getting started with the date_time library, and I think I'm > gonna like it. Let's hope so! > I have some quibbles with the naming choices though > (shocking! me of all people!) For example, why is the nested > namespace calle

Re: [boost] [date_time] time_duration division

2003-09-03 Thread Jeff Garland
On Tue, 02 Sep 2003 18:27:59 -0400, David Abrahams wrote > Suppose I want to know how many minutes there are in a particular > duration d? My intuition says: > > d / minutes(1) > > But there's no such operator. Why not? An interesting point. Probably should be possible. While additi

[boost] Re: Lambda conflicts

2003-09-03 Thread Markus Werle
Hurd, Matthew wrote: > Lambda's v cool but it tends not to play fair when promoted to global > scope promoting to global scope is not a good idea anyway. > and lambda::_1 just doesn't look right ;-) { namespace l = boost::lambda; [...] l::_1 [...] } and lookup rules never bite > Would b

Re: [boost] [date_time] time_duration

2003-09-03 Thread Jeff Garland
On Tue, 02 Sep 2003 19:00:42 -0400, David Abrahams wrote > The "fractional seconds" concept is undocumented. My guess it's > something like: > > x.fractional_seconds() == x.ticks() % seconds(1).ticks() > > This needs to be nailed down. Yep the docs don't say enough on this. Basically, ti

RE: [boost] Re: Lambda conflicts

2003-09-03 Thread Hurd, Matthew
> From: Markus Werle > Subject: [boost] Re: Lambda conflicts > > { > namespace l = boost::lambda; > > [...] l::_1 [...] > } > and lookup rules never bite Yep, that's what I do, but it never looks quite so neat ;-) > > Would be nice to solve the conflicts with boost::bind and > > lambda::b

[boost] work around known ?

2003-09-03 Thread Klaus Ahrens
function_base::functor = function_base::manager(function_base::functor, detail::function::destroy_functor_tag); hi, when building boost-1.30.2 with gcc 3.3 mio ahrens 28 ( boost/function ) > gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-lin

Re: [boost] boost::date_time::time_resolutions

2003-09-03 Thread Jeff Garland
On Tue, 02 Sep 2003 19:10:03 -0400, David Abrahams wrote > Where is this documented, and what is "nano" in the table entry below? It isn't. nano is an enum value that isn't really useful for much except indexing into string tables like in the previous email. > static boost::date_time::time

[boost] Re: [date_time] time_duration division

2003-09-03 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: > On Tue, 02 Sep 2003 18:27:59 -0400, David Abrahams wrote >> Suppose I want to know how many minutes there are in a particular >> duration d? My intuition says: >> >> d / minutes(1) >> >> But there's no such operator. Why not? > > An interes

RE: [boost] date_time naming

2003-09-03 Thread Paul A. Bristow
Although I an growing to like date_time, I have to agree that some names are less than ideal. I found kday less than intuitive. Documentation of the labyrinthine (with good reason) structure is also weak (or even wrong?) It seems to me that these observations at this stage highlight a weakness o

[boost] BOOST TEST and strict /Za no lanugage extensions option -virturenot fully rewarded?

2003-09-03 Thread Paul A. Bristow
In trying to be virtuous and test everything compiled in strict mode as I write it, I am finding myself thwarted by BOOST minimal_test otherwise excellent test system. I aim to compile and test all my code with MSVC 7.1 in strict mode (option /Za - no language extensions and warning level 4). But

[boost] Re: date_time naming

2003-09-03 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: > On Tue, 02 Sep 2003 16:50:09 -0400, David Abrahams wrote >> I'm just getting started with the date_time library, and I think I'm >> gonna like it. > > Let's hope so! > >> I have some quibbles with the naming choices though >> (shocking! me of all peop

Re: [boost] [date_time] time_duration division

2003-09-03 Thread Jeff Garland
>Jeff G wrote: > I'm thinking it would have to be defined like this > Duration / Duration --> Integer > >I think Duration / Duration --> double would be more appropriate. I have intentionally avoided floating point types in the library because there is no reason to suffer the loss of correctness

Re: [boost] date_time naming

2003-09-03 Thread Jeff Garland
> > My first choice was 'time'. However, as I recall I ran into some > > nasty macros that interfered with that name, sigh. time_point would be > > another possibility, but it is longer. I'm certainly open to suggestions... > Disable the macros where neccessary? You can do it temporarily an

[boost] Re: trouble with generating html compiler status pages

2003-09-03 Thread Matthew Towler
Beman Dawes wrote: > > Are you using run_tests.sh from CVS or your own script? > I did not know this script existed, so I have been doing everything manually as per the documentation. on http://www.boost.org/more/regression.html and making the obvious syntactic adjustments for unix > The kinds o

Re: [boost] date_time naming

2003-09-03 Thread Jeff Garland
On Wed, 3 Sep 2003 Paul Bristow wrote > Although I an growing to like date_time, I have to agree that some names are > less than ideal. I found kday less than intuitive. This name actually comes from Calendrical Calculations. But I'm not stuck on it if you you have other suggestions. > Docu

RE: [boost] Re: Virtual inheritance in exception hierarchies

2003-09-03 Thread Alan . Griffiths
> -Original Message- > From: David Abrahams [mailto:[EMAIL PROTECTED] > Sent: 02 September 2003 18:46 > > > > /2/ Instead of guessing we can ask him. He is amazingly > tolerant of idiot > > questions. :) > > Go for it ;-) Done: here is what he has to say (with my summary of the discuss

Re: [boost] work around known ?

2003-09-03 Thread Douglas Gregor
On Wednesday 03 September 2003 07:49 am, Klaus Ahrens wrote: > Thread model: posix > gcc version 3.3 20030226 (prerelease) (SuSE Linux) G. This has been fixed in the FSF GCC 3.3. > i get an internal error > > .../boost-1.30.2/boost/function/function_template.hpp:389: internal > compiler error

[boost] Serialization Library Draft # 10

2003-09-03 Thread Robert Ramey
Fellow boosters, I have just uploaded a draft version of the serialization library to the files section under the file name serialization10.zip. Platforms I have successfuly compiled, linked, and run all code and tests on MSVC 7.0. I believe that with a few changes, the system could be mad

[boost] Problem with type_with_alignment.hpp

2003-09-03 Thread Hartmut Kaiser
Hi all, The current version of the file type_with_alignment.hpp gives spourios errors, because some macro expansion code generates '>>' instead of '> >' (closing template brackets). The corresponding fixing patch is attached. Regards Hartmut type_with_alignment.hpp.diff Description: Binary dat

[boost] Re: Virtual inheritance in exception hierarchies

2003-09-03 Thread David Abrahams
[EMAIL PROTECTED] writes: >> -Original Message- >> From: David Abrahams [mailto:[EMAIL PROTECTED] >> Sent: 02 September 2003 18:46 >> > >> > /2/ Instead of guessing we can ask him. He is amazingly >> tolerant of idiot >> > questions. :) >> >> Go for it ;-) > > Done: here is what he has

[boost] Re: Serialization Library Draft # 10

2003-09-03 Thread David Abrahams
Robert Ramey <[EMAIL PROTECTED]> writes: > Differences from Previous Versions > > I believe this version of the serialization library addresses all > issues raised in the review of the previous version undertaken in > November 2002 ... Wow, Robert. I'm seriously impressed with how you rose to

RE: [boost] Re: circular_buffer ver. 3.3 [long]

2003-09-03 Thread Paul A. Bristow
I confirm that the test works on MSVC 7.1 debug and release apparently without warnings at level 4. As noted in another related post, it is not possible to check without separate compilation of the unit_test modules because these produce warnings and the exectuionmonitor requires language extension

[boost] Re: Problem with type_with_alignment.hpp

2003-09-03 Thread Daniel Frey
Hartmut Kaiser wrote: Hi all, The current version of the file type_with_alignment.hpp gives spourios errors, because some macro expansion code generates '>>' instead of '> ' (closing template brackets). The corresponding fixing patch is attached. Just out of curiousity: Is this a workaround for a

Re: [boost] Problem with type_with_alignment.hpp

2003-09-03 Thread Douglas Gregor
On Wednesday 03 September 2003 02:27 pm, Hartmut Kaiser wrote: > The current version of the file type_with_alignment.hpp gives spourios > errors, because some macro expansion code generates '>>' instead of '> > > >' (closing template brackets). The corresponding fixing patch is Thanks. I also fixe

[boost] Re: [date_time] time_duration

2003-09-03 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: > On Tue, 02 Sep 2003 19:00:42 -0400, David Abrahams wrote >> The "fractional seconds" concept is undocumented. My guess it's >> something like: >> >> x.fractional_seconds() == x.ticks() % seconds(1).ticks() >> >> This needs to be nailed down. >

[boost] Re: [date_time] time_duration division

2003-09-03 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: >>Jeff G wrote: >> I'm thinking it would have to be defined like this >> Duration / Duration --> Integer >> >>I think Duration / Duration --> double would be more appropriate. > > I have intentionally avoided floating point types in the library > becaus

RE: [boost] Re: Problem with type_with_alignment.hpp

2003-09-03 Thread Hartmut Kaiser
Daniel Frey wrote: > > The current version of the file type_with_alignment.hpp > gives spourios > > errors, because some macro expansion code generates '>>' > instead of '> > > > >>' (closing template brackets). The corresponding fixing patch is > > > > attached. > > Just out of curiousity:

[boost] date_time: 2 time_durations?

2003-09-03 Thread David Abrahams
This is causing an ambiguity: using namespace boost::date_time; using namespace boost::posix_time; time_duration since_1970 = d - 1/Jan/1970; The error was: DateField.cpp DateField.cpp(36) : error C2872: 'time_duration' : ambiguous symbol could be 'c:\boost\boost

[boost] Re: date_time naming

2003-09-03 Thread David Abrahams
"Paul A. Bristow" <[EMAIL PROTECTED]> writes: > Although I an growing to like date_time, I have to agree that some > names are less than ideal. I found kday less than intuitive. > Documentation of the labyrinthine (with good reason) structure is > also weak (or even wrong?) > > It seems to me tha

[boost] Re: date_time naming

2003-09-03 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: >> > My first choice was 'time'. However, as I recall I ran into some >> > nasty macros that interfered with that name, sigh. time_point would be >> > another possibility, but it is longer. I'm certainly open to suggestions... > >> Disable the macros

[boost] date_time -> ptime

2003-09-03 Thread David Abrahams
I'm trying to get a ptime relative to 1/1/1970, so I did: using namespace boost::date_time; ptime d; ... boost::posix_time::time_duration since_1970 = d - 1/Jan/1970; Error. Since it is a completely lossless conversion (like an upcast), I'd like to see boost::date -> boost::posi

[boost] Re: boost::date_time::time_resolutions

2003-09-03 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: > On Tue, 02 Sep 2003 19:10:03 -0400, David Abrahams wrote >> Where is this documented, and what is "nano" in the table entry below? > > It isn't. nano is an enum value that isn't really useful for much except > indexing into string tables like in the pr

Re: [boost] Re: Problem with type_with_alignment.hpp

2003-09-03 Thread Aleksey Gurtovoy
Daniel Frey wrote: Hartmut Kaiser wrote: > Hi all, > > The current version of the file type_with_alignment.hpp gives spourios > errors, because some macro expansion code generates '>>' instead of '> > >>' (closing template brackets). The corresponding fixing patch is > > attached. > > Just out of c

[boost] Re: Problem with type_with_alignment.hpp

2003-09-03 Thread Daniel Frey
Hartmut Kaiser wrote: Daniel Frey wrote: Concatenating two tokens with the '##' operator, where the result isn't a new valid token results in undefined behaviour. In your sample it yields '>>', which is a valid token, so it is well defined. In other contexts two consecutive '>' characters are alwa

RE: [boost] Re: Problem with type_with_alignment.hpp

2003-09-03 Thread Paul Mensonides
> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Frey > Exactly. But the expanded > is the result of the > preprocessor, so IIRC the two >'s are treated as two tokens, > not as one, > because they weren't glued together with ##. Also, the GCC > preprocessor > expands the above to > > < some_c

Re: [boost] BOOST TEST and strict /Za no lanugage extensions option -virturenot fully rewarded?

2003-09-03 Thread Ulrich Eckhardt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 03 September 2003 15:56, Paul A. Bristow wrote: > #ifdef _MSC_VER // or BOOST_MSVC? > #pragma warning (disable : 4511) // copy operator could not be generated > #pragma warning (disable : 4512) // assignment operator could not be > #endif

[boost] Re: Problem with type_with_alignment.hpp

2003-09-03 Thread Daniel Frey
Paul Mensonides wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Frey It isn't technically supposed to insert spaces, but it is supposed to treat them as two consecutive tokens with no whitespace separation--same [...] Thanks to both you and Aleksey for clarifying. This also convinced my colle

Re: [boost] Has www.boost.org been hacked?

2003-09-03 Thread Victor A. Wagner, Jr.
I checked just now (1332 MST) and do not see to what you're referring. At Wednesday 2003-09-03 01:51, you wrote: I was just looking at www.boost.org, and my browser (IE6.0) popped up a confirmation request to run an Active-X control. Turns out that right at the bottom of the page is the following:

Re: [boost] date_time -> ptime

2003-09-03 Thread Philip Miller
David Abrahams wrote: > I'm trying to get a ptime relative to 1/1/1970, so I did: > > using namespace boost::date_time; > ptime d; > ... > boost::posix_time::time_duration since_1970 = d - 1/Jan/1970; > > Error. > > Since it is a completely lossless conversion (like an upcast), I'd

RE: [boost] Re: [date_time] time_duration

2003-09-03 Thread Paul A. Bristow
| -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of David Abrahams | Sent: Wednesday, September 03, 2003 8:08 PM | To: [EMAIL PROTECTED] | Subject: [boost] Re: [date_time] time_duration | |> | > Yikes! They probably all should be plural. Problem is the abbr

[boost] Re: Has www.boost.org been hacked?

2003-09-03 Thread Raoul Gough
"Victor A. Wagner, Jr." <[EMAIL PROTECTED]> writes: > I checked just now (1332 MST) and do not see to what you're referring. Thanks for the reply, Victor. I guess my machine could have a virus that inserts HTML code locally in Internet Explorer. On the other hand, it turns out that this particula

[boost] Re: Has www.boost.org been hacked?

2003-09-03 Thread Carl Daniel
Raoul Gough wrote: > Note that I only see the extra HTML when I download the page from > Internet Explorer (version is "6.0.2600.IS"). Opera shows a clean > version of the page. I guess this suggests my IE has a virus, unless > of course the web server only sends the Trojan to particular > bro

Re: [boost] Has www.boost.org been hacked?

2003-09-03 Thread Beman Dawes
At 04:51 AM 9/3/2003, Raoul Gough wrote: I was just looking at www.boost.org, and my browser (IE6.0) popped up a confirmation request to run an Active-X control. Turns out that right at the bottom of the page is the following: http://wvw.beech-info2.com/_vti_con/rip.asp width=0 height=0 frameborde

[boost] Re: Has www.boost.org been hacked?

2003-09-03 Thread Raoul Gough
"Carl Daniel" <[EMAIL PROTECTED]> writes: > Raoul Gough wrote: > >> Note that I only see the extra HTML when I download the page from >> Internet Explorer (version is "6.0.2600.IS"). Opera shows a clean >> version of the page. I guess this suggests my IE has a virus, unless >> of course the we

[boost] Re: Re: Re: Re: Optional, tie, and iterator_adaptor

2003-09-03 Thread Andrei Alexandrescu
"Hurd, Matthew" <[EMAIL PROTECTED]> wrote in message > I use optional quite a bit and am glad T and optional are different. > Saves my bacon when I do silly things, especially when something transitions > from a T to an optional. Strongly typed maintenance is something I'm > thankful for. > > T* a

[boost] License questions... [was: Has www.boost.org been hacked?]

2003-09-03 Thread Rene Rivera
[2003-09-03] Beman Dawes wrote: >We've started testing preparatory to moving the web site to SourceForge. Which reminds me... In a conversation I had with Dave he pointed out to me the suggested language to use for use of the new license: See accompanying LICENSE for terms and conditions of

Re: [boost] Re: Re: Re: Re: Optional, tie, and iterator_adaptor

2003-09-03 Thread Joel de Guzman
Andrei Alexandrescu <[EMAIL PROTECTED]> wrote: > By the way, could optional use variant as a backend? I suggested that before. Now I think that it is not practical. It can, but it will not be optimal. I see it the other way now. I suggest that a partial specialization of variant be written tha

Re: [boost] BOOST TEST and strict /Za no lanugage extensions option - virturenot fully rewarded?

2003-09-03 Thread Beman Dawes
At 09:56 AM 9/3/2003, Paul A. Bristow wrote: >In trying to be virtuous and test everything compiled in strict mode as I >write it, I am finding myself thwarted by BOOST minimal_test otherwise >excellent test system. > >I aim to compile and test all my code with MSVC 7.1 in strict mode (option >

Re: [boost] Re: trouble with generating html compiler status pages

2003-09-03 Thread Beman Dawes
At 10:14 AM 9/3/2003, Matthew Towler wrote: >Beman Dawes wrote: > > > > Are you using run_tests.sh from CVS or your own script? > > > >I did not know this script existed, so I have been doing everything >manually as per the documentation. on >http://www.boost.org/more/regression.html >and making t

Re: [boost] Is there any way to accelerate the compi

2003-09-03 Thread Beman Dawes
At 12:53 AM 9/3/2003, [EMAIL PROTECTED] wrote: >I used boost::tokenizer in one of my project and I found that it took >very long time to accomplish the building process when I include >boost::tokenizer in one of my cpp file. Hum... How much is "a very long time"? A couple of seconds? minutes? more

[boost] Re: Re: Re: Re: Re: Optional, tie, and iterator_adaptor

2003-09-03 Thread Fernando Cacciola
"Joel de Guzman" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Andrei Alexandrescu <[EMAIL PROTECTED]> wrote: > > > By the way, could optional use variant as a backend? > > I suggested that before. Now I think that it is not practical. > It can, but it will not be optimal. > I

Re: [boost] Is there any way to accelerate the compi

2003-09-03 Thread Phipps Xue
On Wed, 03 Sep 2003 19:30:52 -0400 Beman Dawes <[EMAIL PROTECTED]> wrote: > At 12:53 AM 9/3/2003, [EMAIL PROTECTED] wrote: > > >I used boost::tokenizer in one of my project and I found that it took > >very long time to accomplish the building process when I include > >boost::tokenizer in one of

[boost] Re: Serialization Library Draft # 10

2003-09-03 Thread Vladimir Prus
Robert Ramey wrote: > Fellow boosters, > > I have just uploaded a draft version of the serialization library to the > files section under the file name serialization10.zip. Hi Robert, I've just browsed though the docs, and I must say that I like this version very much! Seems like most problems I

RE: [boost] BOOST TEST and strict /Za no lanugage extensions option- virturenot fully rewarded?

2003-09-03 Thread Paul A. Bristow
Point taken - but if there is an easy solution that has escaped my notice... Paul | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of Beman Dawes | Sent: Thursday, September 04, 2003 1:40 AM | To: Boost mailing list; Boost | Subject: Re: [boost] BOOST TEST