RE: [boost] Re: Re: [MPL + MSVC]

2002-11-30 Thread Aleksey Gurtovoy
David B. Held wrote: template class Policy struct get_category : mpl::if_ mpl::is_placeholderPolicy , mpl::identityPolicy , get_category_implPolicy ::type {

[boost] bollean states

2002-11-30 Thread Ihsan Ali Al Darhi
Hi.. A while ago you discussed a library for adding a third boolean state. Where's this library? Mohammed ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: implicit_cast

2002-11-30 Thread Gennaro Prota
On Fri, 29 Nov 2002 21:20:14 +0200, Peter Dimov [EMAIL PROTECTED] wrote: From: David Abrahams [EMAIL PROTECTED] Now I have to put on my inference hat. ...so the use of identity assures that we have a non-deduced context, which causes the explicit template parameter to be required? ...I

Re: [boost] warning with is_polymorphic

2002-11-30 Thread John Maddock
Sure. But the question is: which should the default be? I'm not sure that we know enough to choose at this time. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm ___ Unsubscribe other changes:

Re: [boost] FW: Boost.Test and Comeau C++

2002-11-30 Thread John Maddock
And don't forget about MinGW. I don't know about its status w.r.t. sigaction. Sure, but last time I looked MinGW doesn't claim to be unix and defining POSIX_C_SOURCE etc, but you can always check for !defined(_WIN32) if it is an issue. John Maddock

[boost] lexical_cast and Unicode

2002-11-30 Thread Jasper van de Gronde
I use lexical_cast a lot, but when I tried to use it in a program that uses Unicode I noticed it failed because it uses a standard stringstream. To solve my problem I simply added another #ifdef that checked for UNICODE and would then use wstringstream, thinking it would probably be noticed by

Re: [boost] lexical_cast and Unicode

2002-11-30 Thread Terje Slettebø
From: Jasper van de Gronde [EMAIL PROTECTED] I use lexical_cast a lot, but when I tried to use it in a program that uses Unicode I noticed it failed because it uses a standard stringstream. To solve my problem I simply added another #ifdef that checked for UNICODE and would then use

Re: [boost] lexical_cast and Unicode

2002-11-30 Thread Terje Slettebø
Speaking of different character types, perhaps there could also be interest for converting between strings of different character types, as well? For example: std::string str=lexical_caststd::string(LA wide character string); std::wstring wstr=lexical_caststd::wstring(A character string); and

Re: [boost] int vs int32_t [was: Serialiization Review repost withconsistent quoting]

2002-11-30 Thread David Abrahams
Matthias Troyer [EMAIL PROTECTED] writes: On Saturday, November 30, 2002, at 02:06 AM, David Abrahams wrote: Matthias Troyer [EMAIL PROTECTED] writes: In any case the library user should be reminded that short, int and long are never portable Of course they are perfectly portable! I

Re: [boost] Re: implicit_cast

2002-11-30 Thread Peter Dimov
From: Gennaro Prota [EMAIL PROTECTED] On Fri, 29 Nov 2002 21:20:14 +0200, Peter Dimov [EMAIL PROTECTED] wrote: From: David Abrahams [EMAIL PROTECTED] Now I have to put on my inference hat. ...so the use of identity assures that we have a non-deduced context, which causes the explicit

Re: [boost] get_pointer

2002-11-30 Thread Peter Dimov
From: David Abrahams [EMAIL PROTECTED] Hi, I'm wondering whether the get_pointer function used by mem_fn et al. is really justified. Since you can't invoke a member function on a null pointer anyway, why not simply use *p for this purpose? The original reason for using get_pointer in mem_fn

[boost] implicit_cast inventor

2002-11-30 Thread Peter Dimov
Google tells me that I was wrong, and the correct implementation was originally suggested by C. Green in http://lists.boost.org/MailArchives/boost/msg00886.php -- Peter Dimov http://www.pdimov.com ___ Unsubscribe other changes:

Re: [boost] get_pointer

2002-11-30 Thread David Abrahams
Peter Dimov [EMAIL PROTECTED] writes: From: David Abrahams [EMAIL PROTECTED] Hi, I'm wondering whether the get_pointer function used by mem_fn et al. is really justified. Since you can't invoke a member function on a null pointer anyway, why not simply use *p for this purpose? The

Re: [boost] Re: Boost License Issues

2002-11-30 Thread David Abrahams
Iain K.Hanson [EMAIL PROTECTED] writes: [mailto:[EMAIL PROTECTED]]On Behalf Of David B. Held Sent: 26 November 2002 21:26 [snip] Perhaps a special clause that the software does not infringe on any known patents or copyrights, but comes with no other warranties? I have no idea what the

Re: [boost] get_pointer

2002-11-30 Thread Peter Dimov
From: David Abrahams [EMAIL PROTECTED] Peter Dimov [EMAIL PROTECTED] writes: On the other hand... the ((*p).*f)(...) form would work with most smart pointers and iterators, so it might be worth exploring. Yes, and in particular it would work with std::auto_ptr, which I know is not a

Re: [boost] Re: Re: Boost License Issues

2002-11-30 Thread David Abrahams
David B. Held [EMAIL PROTECTED] writes: On the other hand, I imagine that Boost authors generally don't have the same resources that large companies do. So is it really in anyone's best interests to attack a Boost author over a dubious patent claim? Isn't that like trying to squeeze blood

Re: [boost] Re: Boost License Issues

2002-11-30 Thread Terje Slettebø
From: David Abrahams [EMAIL PROTECTED] Iain K.Hanson [EMAIL PROTECTED] writes: [mailto:[EMAIL PROTECTED]]On Behalf Of David B. Held Sent: 26 November 2002 21:26 [snip] Perhaps a special clause that the software does not infringe on any known patents or copyrights, but comes with no

Re: [boost] get_pointer

2002-11-30 Thread David Abrahams
Peter Dimov [EMAIL PROTECTED] writes: It's fairly easy to provide a get_pointer for std::auto_ptr. ;-) One that works for regular pointers as well, and works on msvc6? I'd love to see that! It ought to be in std:: but a boost:: overload would do as well since the pointer version is in

Re: [boost] Re: Boost License Issues

2002-11-30 Thread David Abrahams
Terje Slettebø [EMAIL PROTECTED] writes: From: David Abrahams [EMAIL PROTECTED] My meeting with a technology lawyer at Harvard last week led me to believe that boost authors are already opened up to having to defend against a patent suit. We are responsible for our own actions. No matter

Re: [boost] implicit_cast inventor

2002-11-30 Thread David Abrahams
David Abrahams [EMAIL PROTECTED] writes: Peter Dimov [EMAIL PROTECTED] writes: Google tells me that I was wrong, and the correct implementation was originally suggested by C. Green in http://lists.boost.org/MailArchives/boost/msg00886.php Hmm. Can anyone track him down to get permission

[boost] Re: Boost License Issues

2002-11-30 Thread Alexander Terekhov
David Abrahams wrote: [...] I would be extremely surprised if anyone could make any worthwhile legal claims against any user of a major Boost library because of Boost itself. Whether or not it's worthwhile really depends on the goals of those bringin suit. You're making progress, Dave.

Re: [boost] Re: Boost License Issues

2002-11-30 Thread Victor A. Wagner, Jr.
it is, unfortunately, in a trial lawyer's best interest to have LOTS of lawsuits over things. It's how s/he gets paid. I can't see any of them saying Well, here's a way to put us all out of business, just put this quote on all your documents. At Saturday 2002/11/30 08:43, you wrote: Iain

Re: [boost] implicit_cast inventor

2002-11-30 Thread Victor A. Wagner, Jr.
PC run amok At Saturday 2002/11/30 09:27, you wrote: David Abrahams [EMAIL PROTECTED] writes: Peter Dimov [EMAIL PROTECTED] writes: Google tells me that I was wrong, and the correct implementation was originally suggested by C. Green in

Re: [boost] get_pointer

2002-11-30 Thread Peter Dimov
From: David Abrahams [EMAIL PROTECTED] Peter Dimov [EMAIL PROTECTED] writes: It's fairly easy to provide a get_pointer for std::auto_ptr. ;-) One that works for regular pointers as well, and works on msvc6? I'd love to see that! Now I'm not sure what you mean. namespace boost {

Re: [boost] implicit_cast inventor

2002-11-30 Thread David Abrahams
Victor A. Wagner, Jr. [EMAIL PROTECTED] writes: PC run amok No, you can't blame that on a malfunctioning PC. That was just me being intentionally considerate. -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements,

Re: [boost] Re: Boost License Issues

2002-11-30 Thread Terje Slettebø
From: David Abrahams [EMAIL PROTECTED] Terje Slettebø [EMAIL PROTECTED] writes: From: David Abrahams [EMAIL PROTECTED] My meeting with a technology lawyer at Harvard last week led me to believe that boost authors are already opened up to having to defend against a patent suit. We are

[boost] Re: implicit_cast inventor

2002-11-30 Thread David B. Held
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Victor A. Wagner, Jr. [EMAIL PROTECTED] writes: PC run amok No, you can't blame that on a malfunctioning PC. That was just me being intentionally considerate. In this case, I suspect PC ==

[boost] Re: implicit_cast inventor

2002-11-30 Thread David B. Held
David B. Held [EMAIL PROTECTED] wrote in message asausf$r0r$[EMAIL PROTECTED]">news:asausf$r0r$[EMAIL PROTECTED]... [...] However, when talking about a specific individual, and not an anonymous person, I think it is quite appropriate to use the correct gender, if it is known. [...] After

[boost] Re: Political correct (was: Re: implicit_cast inventor)

2002-11-30 Thread David B. Held
Terje Slettebø [EMAIL PROTECTED] wrote in message 0ba701c298a4$c7c59b30$60fb5dd5@pc">news:0ba701c298a4$c7c59b30$60fb5dd5@pc... [...] I'm reminded of when Aleksey said (regarding the MPL paper, which uses she), that MPL user is she . I was tempted to say Name one. :) Emily Winch. ;) Not only a

Re: [boost] Re: implicit_cast inventor

2002-11-30 Thread David Abrahams
David B. Held [EMAIL PROTECTED] writes: David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Victor A. Wagner, Jr. [EMAIL PROTECTED] writes: PC run amok No, you can't blame that on a malfunctioning PC. That was just me being intentionally

Re: [boost] Re: implicit_cast inventor

2002-11-30 Thread David Abrahams
David B. Held [EMAIL PROTECTED] writes: David B. Held [EMAIL PROTECTED] wrote in message asausf$r0r$[EMAIL PROTECTED]">news:asausf$r0r$[EMAIL PROTECTED]... [...] However, when talking about a specific individual, and not an anonymous person, I think it is quite appropriate to use the correct

Re: [boost] Political correct (was: Re: implicit_cast inventor)

2002-11-30 Thread David Abrahams
Terje Slettebø [EMAIL PROTECTED] writes: From: David B. Held [EMAIL PROTECTED] David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Victor A. Wagner, Jr. [EMAIL PROTECTED] writes: PC run amok No, you can't blame that on a malfunctioning PC.

Re: [boost] Re: Political correct (was: Re: implicit_cast inventor)

2002-11-30 Thread Terje Sletteb
From: David B. Held [EMAIL PROTECTED] Terje Slettebø [EMAIL PROTECTED] wrote in message 0ba701c298a4$c7c59b30$60fb5dd5@pc">news:0ba701c298a4$c7c59b30$60fb5dd5@pc... [...] I'm reminded of when Aleksey said (regarding the MPL paper, which uses she), that MPL user is she . I was tempted to

Re: [boost] Re: Boost License Issues

2002-11-30 Thread David Abrahams
Terje Slettebø [EMAIL PROTECTED] writes: From: David Abrahams [EMAIL PROTECTED] It is my understanding that warranting something that turns out to be false offers the author less protection than warranting nothing at all. Right. So saying anything about no infringement on known patents,

Re: [boost] get_pointer

2002-11-30 Thread David Abrahams
Peter Dimov [EMAIL PROTECTED] writes: From: David Abrahams [EMAIL PROTECTED] Peter Dimov [EMAIL PROTECTED] writes: It's fairly easy to provide a get_pointer for std::auto_ptr. ;-) One that works for regular pointers as well, and works on msvc6? I'd love to see that! Now I'm not sure

Re:[boost] Serialization Library: review

2002-11-30 Thread Robert Ramey
From: Gennadiy Rozental [EMAIL PROTECTED] I am still considering aspects of your review. I have a questions about a couple of comments: Major [Issue 2]: I believe it design error to couple both sides of serialization together in one library. It should be separated . So that user should be able

[boost] Re: implicit_cast inventor

2002-11-30 Thread David B. Held
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] Oh! I have never ever heard that term before!! Thanks for explaining it to me!!! Umm...my sarcasm detector is giving me an ambiguous reading... :( Without that explanation, I'm sure I would

Re: [boost] Political correct (was: Re: implicit_cast inventor)

2002-11-30 Thread David Abrahams
Terje Slettebø [EMAIL PROTECTED] writes: From: David Abrahams [EMAIL PROTECTED] Finally, I'd feel pretty foolish if I had gone along presuming that C. Green was a man and she turned out to be a woman. So I was just practicing a little CYA in case things turned out differently than I

[boost] Re: implicit_cast inventor

2002-11-30 Thread David B. Held
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] how does that make Victor's point? Historically, the masculine gender was used to denote an anonymous person, with no intended message about the superiority of any gender. It isn't until very

[boost] Re: Re: implicit_cast inventor

2002-11-30 Thread David B. Held
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] It's usually easier to smell when we're in the same room. Your dry humor was just a little to subtle for me. :( Next time I'll try not to get caught off guard. Dave

Re: [boost] Re: Re: Re: Boost License Issues

2002-11-30 Thread David Abrahams
David B. Held [EMAIL PROTECTED] writes: David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] Volunteering the boost moderators for more work is always the last resort of the desperate wink Heh, heh...actually, I was thinking that you probably

[boost] [Test] Feature request

2002-11-30 Thread David B. Held
When I'm running a test program, it would be nice to get a usage message with a -help or -? parameter. That way, I don't have to remember all the log level parameters, etc. Dave ___ Unsubscribe other changes:

Re: [boost] Re: implicit_cast inventor

2002-11-30 Thread David Abrahams
David B. Held [EMAIL PROTECTED] writes: David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] how does that make Victor's point? Historically, the masculine gender was used to denote an anonymous person, with no intended message about the

[boost] Re: [Test] Feature request

2002-11-30 Thread Gennadiy Rozental
David B. Held [EMAIL PROTECTED] wrote in message asb9ml$iqi$[EMAIL PROTECTED]">news:asb9ml$iqi$[EMAIL PROTECTED]... When I'm running a test program, it would be nice to get a usage message with a -help or -? parameter. That way, I don't have to remember all the log level parameters, etc.

Re: [boost] FW: Boost Unit Test Framework: Localisation hiccups

2002-11-30 Thread Chris Little
on 11/25/02 4:54 AM, Rozental, Gennadiy at [EMAIL PROTECTED] wrote: Dear Gennadiy, I've just been trying out the latest (1.29.0) release of the Boost Unit Test Framework. I ran into a few minor localisation hiccups you might want to be told about. I'm using Metrowerks Codewarrior 8.1

Re: [boost] Re: implicit_cast inventor

2002-11-30 Thread Thorsten Ottosen
Hmm... a lot of energy wasted on whether to use he or she. So lets waste some more time... Here in Denmark the correct way to refer to a person (of both genders) in a representative sense is simply he. Nobody is foolish enough to think its literally a man. So if the persons gender is unknown,

[boost] Re: Re:Serialization Library: review

2002-11-30 Thread Gennadiy Rozental
Robert Ramey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From: Gennadiy Rozental [EMAIL PROTECTED] I am still considering aspects of your review. I have a questions about a couple of comments: Major [Issue 2]: I believe it design error to couple both

RE: [boost] Re: Re: Re: Boost License Issues

2002-11-30 Thread Jeff Garland
P.S. Perhaps a set of Wiki pages would be a good way to pursue this. Ok, started: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost_License Jeff ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] [MPL] vector of vectors

2002-11-30 Thread David A. Greene
Is it possible to have an MPL vector of MPL vectors? When I try this, the compiler (g++ 3.2) complains about an incomplete type for push_back_traits: #include boost/mpl/vector.hpp #include boost/mpl/integral_c.hpp #include boost/mpl/push_back.hpp int main(void) { typedef boost::mpl::vector