Re: [boost] ublas regression test problems

2002-11-20 Thread Joerg Walter
- Original Message - From: "Beman Dawes" <[EMAIL PROTECTED]> To: "Boost mailing list" <[EMAIL PROTECTED]>; "'Boost mailing list'" <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 9:41 PM Subject: RE: [boost] ublas regression test problems > At 06:35 AM 11/20/2002, Aleksey Gurtovoy

Re: [boost] Re: [MPL] Several Questions

2002-11-20 Thread David A. Greene
Gennadiy Rozental wrote: 1. merge the sequences. That's easy. 2. Eliminate the duplicates (for example like Loki is doing) That's hard to do efficiently. My MC++D book is packed away at the moment. Can you refresh my memory as to the solution there? Is it better then O(n^2)?

RE: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Bergman
Fernando, Just curious: do you mean "iff" ("if and only if") by your "IIF", or a pure emphasized "if" (i.e. "IF")? Just in order for me to follow the logic in the statements. /David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Fernando Cacciola Sent:

RE: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Bergman
I do not know if I would necessary like to have such a hard coupling between exceptions and logging/tracing... First of all, the exception-carrying objects get kind of heavy. Secondly; I think it is good to regard exceptions as something a bit more than carriers of either (1) log information or (2

Re: FW: [boost] Serialization & XML (was Serialization Library Review)

2002-11-20 Thread Beman Dawes
At 10:01 PM 11/18/2002, Robert Ramey wrote: >Is there a reason you sent this to me privately? >> From: David Abrahams <[EMAIL PROTECTED]> > >>I believe your assessment that some >>data structures can't be represented using XML is incorrect, and >>that's easy to prove. A serialization library which

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Abrahams
"William E. Kempf" <[EMAIL PROTECTED]> writes: > David Abrahams said: >> "William E. Kempf" <[EMAIL PROTECTED]> writes: >> There are workarounds for that problem. See http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-closed.html#254 >>> >>> Thanks for the link. Comments: >>> >>> * I person

RE: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread johan_ericsson
-Original Message- From: David Abrahams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 1:40 PM To: Boost mailing list Subject: Re: [boost] Do we need a boost_exception class or idiom? >"Fernando Cacciola" <[EMAIL PROTECTED]> writes: >> I'm not sure if a boost exception cla

[boost] Re: Do we need a boost_exception class or idiom?

2002-11-20 Thread Andrei Alexandrescu
"David Abrahams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [snip] > This seems like a very bad solution. It requires solving the > forwarding constructor problem, for one thing. boost::throw_exception > doesn't have that problem. I don't know about boost::th

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread William E. Kempf
David Abrahams said: > "William E. Kempf" <[EMAIL PROTECTED]> writes: > >>> There are workarounds for that problem. See >>> http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-closed.html#254 >> >> Thanks for the link. Comments: >> >> * I personally don't agree with the rationale that not throwing >>

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Abrahams
"Fernando Cacciola" <[EMAIL PROTECTED]> writes: >> 2. Why are we reinventing the wheel? What's wrong with >>boost::throw_exception() from boost/throw_exception.hpp? >> > Nothing :-) > I like this approach... and I had forgot about it. > Anyway, I was just pointing out that IIF a boost excepti

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Abrahams
"William E. Kempf" <[EMAIL PROTECTED]> writes: >> There are workarounds for that problem. See >> http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-closed.html#254 > > Thanks for the link. Comments: > > * I personally don't agree with the rationale that not throwing > bad_alloc when constructing from

Re: [boost] 'function' idea

2002-11-20 Thread Paul Mensonides
- Original Message - From: "David Abrahams" <[EMAIL PROTECTED]> To: "Boost mailing list" <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 2:24 PM Subject: Re: [boost] 'function' idea > "Paul Mensonides" <[EMAIL PROTECTED]> writes: > > >> [This is getting way off-topic for Boost. We

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread William E. Kempf
David Abrahams said: > "William E. Kempf" <[EMAIL PROTECTED]> writes: >> Fernando Cacciola said: >> template >> void raise(const P1& p1) >> { >> #ifndef BOOST_NO_EXCEPTIONS >>throw T(p1); >> #endif >> } >> >> // other such overloads if needed >> >> void foo() >> { >>raise("my logic error"

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread Fernando Cacciola
- Original Message - From: "David Abrahams" <[EMAIL PROTECTED]> To: "Boost mailing list" <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 6:40 PM Subject: Re: [boost] Do we need a boost_exception class or idiom? > "Fernando Cacciola" <[EMAIL PROTECTED]> writes: > > > I'm not sure i

Re: [boost] 'function' idea

2002-11-20 Thread David Abrahams
"Paul Mensonides" <[EMAIL PROTECTED]> writes: >> [This is getting way off-topic for Boost. We should take this off-line or > over >> to clc++m) > > I'm done anyway. I've already made my case. But you made it in a forum where it can't make much difference. If you don't post this to csc++ it's t

[boost] Re: BOOST_CHECK_EQUAL() dangers

2002-11-20 Thread Tanton Gibbs
> > 1. Just document it. Not so good, IMHO. > > > > 2. Document the special case and add a check for NULL pointers before > > calling strcmp(). > > > > 3. Remove the special case alltogether. After all, I might want to check > > that the pointers are equal and not the string they point to. This mig

Re: [boost] 'function' idea

2002-11-20 Thread Paul Mensonides
- Original Message - From: "Douglas Gregor" <[EMAIL PROTECTED]> > > This isn't what that section means however. It is only a list a few cases > > of "trying to form any type that isn't a C++ type." > > ... but I've stated what was the intent of the committee (according to my > recollectio

Re: [boost] Re: BOOST_CHECK_EQUAL() dangers

2002-11-20 Thread David Abrahams
"Gennadiy Rozental" <[EMAIL PROTECTED]> writes: >> 1. Just document it. Not so good, IMHO. >> >> 2. Document the special case and add a check for NULL pointers before >> calling strcmp(). >> >> 3. Remove the special case alltogether. After all, I might want to check >> that the pointers are equal

[boost] Re: BOOST_CHECK_EQUAL() dangers

2002-11-20 Thread Gennadiy Rozental
> 1. Just document it. Not so good, IMHO. > > 2. Document the special case and add a check for NULL pointers before > calling strcmp(). > > 3. Remove the special case alltogether. After all, I might want to check > that the pointers are equal and not the string they point to. This might > be the be

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Abrahams
Beman Dawes <[EMAIL PROTECTED]> writes: > The bigger issue is whether or not Boost should have a usual way of > defining error exceptions thrown by Boost libraries Probably not; std::exception works well enough. > with raise() being one of the issues to be dealt with. Definitely not. That's not

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Abrahams
"William E. Kempf" <[EMAIL PROTECTED]> writes: > Fernando Cacciola said: >> I'm not sure if a boost exception class is *needed*, but I see no >> problem in having one. >> Anyway, IIF such an exception class is defined, I *strongly* encourage >> (as I did in the past) that it provides: >> >> virt

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread David Abrahams
"Fernando Cacciola" <[EMAIL PROTECTED]> writes: > I'm not sure if a boost exception class is *needed*, but I see no problem in > having one. > Anyway, IIF such an exception class is defined, I *strongly* encourage (as I > did in the past) that it provides: > > virtual void raise() const > { >

[boost] [Jason Shirk ]boost\dynamic_bitset.hppneeds update for Everett

2002-11-20 Thread David Abrahams
--- Begin Message --- I just checked CVS, and boost\dynamic_bitset.hpp needs a change to avoid a warning with Everett: Here is the patch: 50c50 < #ifdef BOOST_MSVC --- > #if (BOOST_MSVC <= 1300) Jason --- End Message --- -- David Abrahams [EMAIL PROTECTED] * http:/

[boost] Re: [MPL] Several Questions

2002-11-20 Thread Gennadiy Rozental
> David A. Greene wrote: > > I'm starting to explore mpl a bit and I ran into a roadblock. > > If I have a template that takes an argument that can be > > a sequence (e.g. mpl::vector) or a regular old type, is > > there any way, short of specialization, to determine whether > > the parameter is a

RE: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread scleary
> Has anyone run into a comprehensive attack on these and similar exception > class problems? Is there a better way than each Boost developer just > hacking together individual exception classes? Could we do better with a > Boost exception class or idiom? I can only speak from my own personal e

[boost] Re: Re: Re:Re:reinterpret_cast&>[wasRe:const-correctnessas functionargument]

2002-11-20 Thread Eric Woodruff
"Rob Stewart" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From: "Eric Woodruff" <[EMAIL PROTECTED]> > > > > Every reference I can find excludes pointer conversions from being > > implementation defined. They all (even the standard) specifically treat > > poi

Re: [boost] ublas regression test problems

2002-11-20 Thread Beman Dawes
At 01:32 PM 11/20/2002, Toon Knapen wrote: >On Wednesday 20 November 2002 06:35, Aleksey Gurtovoy wrote: >> > P.S.: Why aren't there any regression tests for mpl? >> >> There are, they just not included into the batch. Probably they should >be; >> there are some issues, mainly with the number of t

RE: [boost] ublas regression test problems

2002-11-20 Thread Beman Dawes
At 06:35 AM 11/20/2002, Aleksey Gurtovoy wrote: >> because ublas doesn't depend from mpl. So I've to assume, >> that somebody is changing either boost.config, boost.type_traits, >> boost.smart_ptr or boost.timer. > >Hmm, compiles fine for me on the clean CVS get (ignoring "test31/32.cpp" >errors,

Re: [boost] [MPL] Several Questions

2002-11-20 Thread David A. Greene
Aleksey Gurtovoy wrote: there any way, short of specialization, to determine whether the parameter is a sequence? "is_sequence::value", please expect it to appear in the CVS in a day or two :). Oh, fabulous! Just what I ws looking for. Given 'is_sequence', it will be as simple as this:

Re: [boost] Re: Re:Re:reinterpret_cast&>[wasRe:const-correctnessas functionargument]

2002-11-20 Thread Rob Stewart
From: "Eric Woodruff" <[EMAIL PROTECTED]> > > Every reference I can find excludes pointer conversions from being > implementation defined. They all (even the standard) specifically treat > pointer conversions differently (clause 7) than pointer->integer->pointer > conversions. This is because crea

[boost] Check digits

2002-11-20 Thread Paul A. Bristow
Driven by an local requirement, I have recently coded a Verhoeff decimal check digit program, based on the Java calculator embedded in http://www.augustana.ab.ca/~mohrj/algorithms/checkdigit.html by Jonathon Mohr, [EMAIL PROTECTED] Augustana University College, 4901 - 46 Ave., Camrose, AB T4V 2R3

Re: [boost] 'function' idea

2002-11-20 Thread Douglas Gregor
On Wednesday 20 November 2002 01:38 pm, Paul Mensonides wrote: > > I don't think it's quite so clear-cut, because we have to define what you > > mean > > > by "nonsense", and I'm not sure you'll find agreement. The committee > > chose one view of nonsense: trying to form any type that isn't a C++ t

[boost] Re: Serialization Library Review (pointer serializationfacility)

2002-11-20 Thread Alberto Barbati
Matthias Troyer wrote: On Monday, November 18, 2002, at 02:30 PM, Yitzhak Sapir wrote: I think taking out the pointer facility into a separate class would be better design. By this I mean, that register_type<> and the logic for identifying and maintaining pointers would be in a separate clas

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread Fernando Cacciola
- Original Message - From: "Beman Dawes" <[EMAIL PROTECTED]> To: "Boost mailing list" <[EMAIL PROTECTED]>; "Boost mailing list" <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 3:43 PM Subject: Re: [boost] Do we need a boost_exception class or idiom? > At 01:20 PM 11/20/2002, Ferna

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread William E. Kempf
Fernando Cacciola said: > I'm not sure if a boost exception class is *needed*, but I see no > problem in having one. > Anyway, IIF such an exception class is defined, I *strongly* encourage > (as I did in the past) that it provides: > > virtual void raise() const > { > #ifndef BOOST_NO_EXC

[boost] Re: Re: Serialization to relational table

2002-11-20 Thread Bohdan
"Vladimir Prus" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Bohdan wrote: > I'm not a database expert, so my knowledge may be just rusty. However, I never > heard about composite types in relational tables, and never seen anything like > that in MySQL. Looki

[boost] Re: Do we need a boost_exception class or idiom?

2002-11-20 Thread Gennaro Prota
On Wed, 20 Nov 2002 08:53:21 -0500, Beman Dawes <[EMAIL PROTECTED]> wrote: >Boost libraries often define exception classes, usually derived from the >standard library exception hierarchy. Users sometimes ask for further >refinement, so the library ends up with its own hierarchy. > >For example,

[boost] Re: Re: Re: Re: STL applied to disk

2002-11-20 Thread Bohdan
"David Abrahams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Bohdan" <[EMAIL PROTECTED]> writes: > > > Do you mean that *i returns proxy (not object or reference) ? > > Can you give some link where i can find rationale for this ? > > A rationale? No, "them's

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread Beman Dawes
At 01:20 PM 11/20/2002, Fernando Cacciola wrote: >I'm not sure if a boost exception class is *needed*, but I see no problem >in >having one. >Anyway, IIF such an exception class is defined, I *strongly* encourage (as >I >did in the past) that it provides: > > virtual void raise() const > { >

Re: [boost] 'function' idea

2002-11-20 Thread Paul Mensonides
- Original Message - From: "Douglas Gregor" <[EMAIL PROTECTED]> > On Tuesday 19 November 2002 04:44 pm, Paul Mensonides wrote: > > Clever type traits are one thing, but they are a side-effect of the > > solution to a more general problem. Specifically, one template function > > declarati

[boost] Re: Possible boost addition: sub string and const s tring.

2002-11-20 Thread Alexei Novakov
"Vincent Finn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Forwarded to main Boost list - that's the more appropriate venue for > discussions of possible additions. > > -- Jim Hyslop boost-users moderator. > > > -Original Message- > > From: alexei_

Re: [boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread Fernando Cacciola
I'm not sure if a boost exception class is *needed*, but I see no problem in having one. Anyway, IIF such an exception class is defined, I *strongly* encourage (as I did in the past) that it provides: virtual void raise() const { #ifndef BOOST_NO_EXCEPTIONS throw *this ; #endif

[boost] Do we need a boost_exception class or idiom?

2002-11-20 Thread Beman Dawes
Boost libraries often define exception classes, usually derived from the standard library exception hierarchy. Users sometimes ask for further refinement, so the library ends up with its own hierarchy. For example, the Filesystem library started out with boost::filesystem::filesystem_error, bu

[boost] Serialization Library: review

2002-11-20 Thread Robert Ramey
From: "Gennadiy Rozental" <[EMAIL PROTECTED]> Its clear you spend a lot of time on this. Your attention to end perception of detail is extraordinary. Also your critisms are phrased in a way that proposes and contrasts the alternative - a very useful feature. So many of these I have no problem w

Re: [boost] soureforge

2002-11-20 Thread David Abrahams
"Matt Hurd" <[EMAIL PROTECTED]> writes: > 1.27 is the latest on sourcefourge. Would pay to either remove it or put > 1.29 up. How much? ;-) I removed 1.27 -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training,

Re: [boost] Boost License Issues

2002-11-20 Thread Joel Young
From: Andrew Koenig <[EMAIL PROTECTED]> > an issue here--that all FSF wanted was to be able to put the work > under GPL (which would also be impossible for a public-domain work). The exact public domain work can't be copyrighted, however for all practical purposes that is meaningless. It can be

Re: [boost] Re: String algorithm library

2002-11-20 Thread Pavol Droba
On Wed, Nov 20, 2002 at 04:34:21PM +0100, Gennaro Prota wrote: > On Tue, 19 Nov 2002 19:37:51 +0100, Pavol Droba <[EMAIL PROTECTED]> > wrote: > > > isclassified was suggested by Genny Prota > > My name in the file is a theft though. That's just a classic. My only > contribution was the error of u

Re: [boost] BOOST_CHECK_EQUAL() dangers

2002-11-20 Thread David Abrahams
Markus Schöpflin <[EMAIL PROTECTED]> writes: > 1. Just document it. Not so good, IMHO. > > 2. Document the special case and add a check for NULL pointers before calling >strcmp(). > > 3. Remove the special case alltogether. After all, I might want to > check that the pointers are equal and not th

[boost] Re: String algorithm library

2002-11-20 Thread Gennaro Prota
On Tue, 19 Nov 2002 19:37:51 +0100, Pavol Droba <[EMAIL PROTECTED]> wrote: > isclassified was suggested by Genny Prota My name in the file is a theft though. That's just a classic. My only contribution was the error of using the type ctype_base::mask for a template parameter :-) Genny. ___

Re: [boost] Boost License Issues

2002-11-20 Thread Andrew Koenig
>> Keith Gorlen, >> the author of the NIH (National Institutes of Health) class library, >> told me once that his work, being a ``US Government work'' is in the >> public domain and *cannot* be copyrighted or licensed. That is, >> *nothing* that anyone does with his work can legally prevent anyone

Re: [boost] Re: Copy Constructible Concept

2002-11-20 Thread Douglas Gregor
On Saturday 16 November 2002 12:24 pm, Gennaro Prota wrote: > Sorry for the late reply (it's just my timezone). > > You wrote: > >I don't see the contradiction here. 5.2.10/7 says that you can cast from a > > T pointer to a U pointer and back to a T pointer and get the original > > pointer back. >

RE: [boost] [PATCH] Boost.Format: making it work without exceptions

2002-11-20 Thread Bjorn . Karlsson
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > This patch makes the Boost.Format library work when exceptions is not > present. It is done the same way as with the smart pointers. > Applied, thanks! Bjorn ___ Unsubscribe & other changes: htt

[boost] BOOST_CHECK_EQUAL() dangers

2002-11-20 Thread Markus Schöpflin
Hi, the (really useful!) boost test library provides the test tool macro BOOST_CHECK_EQUAL() which checks two values for equality. I just learned the hard way that the following does not do what one would expect. char const *p = 0; BOOST_CHECK_EQUAL(p, p); On my system, this results in a test

Re: [boost] Serialization Library: review

2002-11-20 Thread Matthias Troyer
On Wednesday, November 20, 2002, at 01:42 PM, Gennadiy Rozental wrote: [Issue 3] Library seems to hardcode important part of functionality that users may want to overwrite. Here I refer in most part to archive/object preamble. Major [Issue 3]: Submitted library is somewhat limited in a means

Re: [boost] 'function' idea

2002-11-20 Thread Douglas Gregor
On Tuesday 19 November 2002 04:44 pm, Paul Mensonides wrote: > Clever type traits are one thing, but they are a side-effect of the > solution to a more general problem. Specifically, one template function > declaration can permanently break an overload set--even if it is not > selected. The solut

[boost] [PATCH] Boost.Format: making it work without exceptions

2002-11-20 Thread Lars Gullik Bjønnes
This patch makes the Boost.Format library work when exceptions is not present. It is done the same way as with the smart pointers. Please apply. Index: boost/format/feed_args.hpp === RCS file: /cvsroot/boost/boost/boost/format/feed

[boost] Re: lexical_cast and bool

2002-11-20 Thread Vincent Finn
Neal D. Becker wrote: "Roland" == Roland Richter <[EMAIL PROTECTED]> writes: Roland> Dear all, Roland> just a minor issue for the upcoming(?) lexical_cast in 1.30.0: Roland> lexical_cast( "true" ) returns false, Roland> since std::ios::boolalpha is not set by default. Rol

Re: [boost] shared_ptr deleter introspection?

2002-11-20 Thread David Abrahams
"Peter Dimov" <[EMAIL PROTECTED]> writes: > From: "David Abrahams" <[EMAIL PROTECTED]> > > [get_deleter] > >> I think that considering the alternatives require: >> >>1. Periodic map sweeps (we might as well be doing GC ;->), or >> >>2. Solving the constructor forwarding problem for tacking

RE: [boost] [MPL] Several Questions

2002-11-20 Thread Aleksey Gurtovoy
David A. Greene wrote: > I'm starting to explore mpl a bit and I ran into a roadblock. > If I have a template that takes an argument that can be > a sequence (e.g. mpl::vector) or a regular old type, is > there any way, short of specialization, to determine whether > the parameter is a sequence?

Re: [boost] lexical_cast and bool

2002-11-20 Thread Neal D. Becker
> "Roland" == Roland Richter <[EMAIL PROTECTED]> writes: Roland> Dear all, Roland> just a minor issue for the upcoming(?) lexical_cast in 1.30.0: Roland> lexical_cast( "true" ) returns false, Roland> since std::ios::boolalpha is not set by default. Roland> How about chang

[boost] RE: [Boost-Users] Possible boost addition: sub string and const string.

2002-11-20 Thread Jim.Hyslop
Forwarded to main Boost list - that's the more appropriate venue for discussions of possible additions. -- Jim Hyslop boost-users moderator. > -Original Message- > From: alexei_novakov [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 7:05 PM > To: [EMAIL PROTECTED] > Subject:

Re: [boost] installing Boost on HP-UX 10.20

2002-11-20 Thread David Abrahams
Toon Knapen <[EMAIL PROTECTED]> writes: > (John, I would like to continue the discussion on the boost-ml since there > are some people with experience with boost on HPUX that will be able to > provide some more info, I'm not crosposting to jamboost since all jamboosters > are also boosters) Ch

Re: [boost] Re: Object Factory

2002-11-20 Thread David Abrahams
Anthony Liguori <[EMAIL PROTECTED]> writes: > David Abrahams wrote: > >>Now can we rename "factory" to "metaclass"? I just want to see smoke >>come out of peoples' ears! >> > You know, this might be possible... If we can find a way to map > members to function objects somewhat automatically, Wh

Re: [boost] singlton library?

2002-11-20 Thread Pavol Droba
On Wed, Nov 20, 2002 at 01:42:47PM +0200, Yakov Bachmutsky wrote: > Hi, > > I've posted a proposal of a singleton library (among others) maybe a month > ago and as far as I remember it was ignored so I post it again with its name > as the subject, hoping this will help, and some explanations: > >

Re: [boost] shared_ptr deleter introspection?

2002-11-20 Thread Peter Dimov
From: "David Abrahams" <[EMAIL PROTECTED]> [get_deleter] > I think that considering the alternatives require: > >1. Periodic map sweeps (we might as well be doing GC ;->), or > >2. Solving the constructor forwarding problem for tacking on > additional data to the pointed-to class >

[boost] Re: Serialization Library: review

2002-11-20 Thread Gennadiy Rozental
And here promised attachments   Gennadiy.   serialization.rar Description: Binary data ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Serialization Library: review

2002-11-20 Thread Gennadiy Rozental
Hi, After spending some time with library, looking through docs and code, compiling it and comparing with my expectations I see following 5 major issues with submitted library: [Issue 1] Registration/reflection facility should be completely separated from serialization implementation and became r

[boost] lexical_cast and bool

2002-11-20 Thread Roland Richter
Dear all, just a minor issue for the upcoming(?) lexical_cast in 1.30.0: lexical_cast( "true" ) returns false, since std::ios::boolalpha is not set by default. How about changing this? - Roland ___ Unsubscribe & other changes: http://lists.boost.o

Re: [boost] ublas regression test problems

2002-11-20 Thread Toon Knapen
On Wednesday 20 November 2002 06:35, Aleksey Gurtovoy wrote: > > P.S.: Why aren't there any regression tests for mpl? > > There are, they just not included into the batch. Probably they should be; > there are some issues, mainly with the number of tests (currently ~60 and > more to come) - simply p

Re: [boost] ublas regression test problems

2002-11-20 Thread jhr . walter
Aleksey Gurtovoy wrote: > Joerg Walter wrote: > > I've recently committed a couple of bugfixes, > extensions and > > compatibility hacks. The last regression tests seem to > be OK > > for Linux, but some tests under Windows fail to > compile. I'm > > especially concerned about VC7 failures with

Re: [boost] Re: new initialization lib, any interest?

2002-11-20 Thread Thorsten Ottosen
- Original Message - From: "Rob Stewart" <[EMAIL PROTECTED]> > From: Thorsten Ottosen <[EMAIL PROTECTED]> > > From: "Yitzhak Sapir" <[EMAIL PROTECTED]> > > > On Wed, 9 Oct 2002, Thorsten Ottosen wrote: > > > > > > > The problem of missing a value in the assignment to > > > > the map is hy

Re: [boost] is_polymorphic question

2002-11-20 Thread John Maddock
> It has been reported to me that is_polymorphic gives > compile time error when T is const type and the compiler is g++. > > Is there a fix for this? It will be fixed in cvs shortly. Thanks for the report, John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm _

RE: [boost] ublas regression test problems

2002-11-20 Thread Aleksey Gurtovoy
Joerg Walter wrote: > I've recently committed a couple of bugfixes, extensions and > compatibility hacks. The last regression tests seem to be OK > for Linux, but some tests under Windows fail to compile. I'm > especially concerned about VC7 failures with the diagnostic > > concepts.cpp > C:\bo

[boost] singlton library?

2002-11-20 Thread Yakov Bachmutsky
Hi,I've posted a proposal of a singleton library (among others) maybe a monthago and as far as I remember it was ignored so I post it again with its nameas the subject, hoping this will help, and some explanations:1. I use singleton to have a singleton instance of a class in myapps.The obvi

[boost] Re: Serialization to relational table

2002-11-20 Thread Arkadiy Vertleyb
> With run-time relational libray you also can do joins, projections .. > but without compile-time type safety. So, you have to use some kind of "variant"? I think this solution still limits which types can be used. Am I wrong? > I was thinking about some simple variant of rtl::table with prede

[boost] Re: Possible boost addition: sub string and const s tring.

2002-11-20 Thread Vincent Finn
Forwarded to main Boost list - that's the more appropriate venue for discussions of possible additions. -- Jim Hyslop boost-users moderator. > -Original Message- > From: alexei_novakov [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 7:05 PM > To: [EMAIL PROTECTED] > Subject:

RE: [boost] Boost License Issues

2002-11-20 Thread Paul A. Bristow
I am sure legal views on this would be useful, but I fear that if you ask n lawyers for their opinion, you will end up with more than n+1 opinions! Can't we tap some of these firms that are worrying about this for their legal views, for what they are worth? Paul Paul A Bristow, Prizet Farmhouse,

[boost] ublas regression test problems

2002-11-20 Thread Joerg Walter
Hi all, I've recently committed a couple of bugfixes, extensions and compatibility hacks. The last regression tests seem to be OK for Linux, but some tests under Windows fail to compile. I'm especially concerned about VC7 failures with the diagnostic concepts.cpp C:\boost\site\boost\mpl\if.hpp(15

RE: [boost] Boost License Issues

2002-11-20 Thread Bjorn . Karlsson
> From: Rene Rivera [mailto:[EMAIL PROTECTED]] > I think you did a limited search... only in the headers. > There are many more > files without (C). For example most "Jamfile"s don't have one. > > Could you post how you did the search... perhaps this is > something for Beman > to add to the list

[boost] Re: Serialization to relational table

2002-11-20 Thread Bohdan
"Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message ared23$aod$[EMAIL PROTECTED]">news:ared23$aod$[EMAIL PROTECTED]... > > Note! My knowledges about RTL are far from good. Just first glance. > > I failed to compile rtl with my compiler. Will try once again. > > Which compiler are you using? S