Re: [boost] Proposed Boost Assert -- once again

2002-11-14 Thread Fernando Cacciola
for including the _MSG variant. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Proposed Boost Assert -- once again

2002-11-14 Thread Fernando Cacciola
- Original Message - From: David Abrahams [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 7:18 PM Subject: Re: [boost] Proposed Boost Assert -- once again Fernando Cacciola [EMAIL PROTECTED] writes: - Original Message - From

Re: [boost] Can type_traits be user specialized?

2002-11-15 Thread Fernando Cacciola
/homepages/john_maddock/index.htm Thanks. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Named Template Parameters implementation

2002-11-15 Thread Fernando Cacciola
Hi All! As a final touch in the Numeric Conversion library I have almost ready, I want to add it named template parameters for easier usage. Were can I borrow the State of the Art implementation of this idiom from? TIA, Fernando Cacciola

Re: [boost] Named Template Parameters implementation

2002-11-15 Thread Fernando Cacciola
- Original Message - From: Jaakko Jarvi [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Friday, November 15, 2002 12:18 PM Subject: Re: [boost] Named Template Parameters implementation On Fri, 15 Nov 2002, Fernando Cacciola wrote: As a final touch in the Numeric

Re: [boost] Borland C++ 5.5.1 problem with the new shared_ptr tests

2002-11-19 Thread Fernando Cacciola
; // shared_count::op= doesn't throw return *this; } With this additional assignment, the test passes. Can't check with other Borland compilers. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi

Re: [boost] Borland C++ 5.5.1 problem with the new shared_ptr tests

2002-11-19 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 3:04 PM Subject: Re: [boost] Borland C++ 5.5.1 problem with the new shared_ptr tests From: Fernando Cacciola [EMAIL PROTECTED] Borland C++ 5.5.1 fails

[boost] optional, aligned_storage, exception safety and address independence.

2002-11-21 Thread Fernando Cacciola
* tell whether a given type T is address independent. It is a property of the object's functionality and not of the C++ implementation. Additionally, I believe that almost all the types that one might wrap into optional are effectively address independent. TIA, Fernando Cacciola

[boost] Formal Review Request: class optional

2002-11-21 Thread Fernando Cacciola
updating operations. TIA, Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Formal Review Request: class optional

2002-11-21 Thread Fernando Cacciola
Dirk Gerrits [EMAIL PROTECTED] wrote in message arjgo5$o25$[EMAIL PROTECTED]">news:arjgo5$o25$[EMAIL PROTECTED]... Fernando Cacciola wrote: [snip] void recieve_async_message() { optional rcv ; while ( !!(rcv = get_async_input()) !timeout() ) output(*rcv); }

Re: [boost] Re: Formal Review Request: class optional

2002-11-22 Thread Fernando Cacciola
, but it's not very clear IMHO. Another supported alternative which I forgot to mention is: if ( initialized(opt) ) ... Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Re: Formal Review Request: class optional

2002-11-22 Thread Fernando Cacciola
: syntax error : missing ',' before identifier 'value' and a lot more :-( OK. I think I have a VC6.5 or some around. I'll see how to fix it. Best Regards, Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi

Re: [boost] Re: Formal Review Request: class optional

2002-11-22 Thread Fernando Cacciola
is that (*opt) is a proxy with a 'operator T const() const' and this operator *is* called -as can be seen with the debugger- but only to create the temporary that is passed to operator == Anyway, with a small twist of the test it now passes with VC6.0 Fernando Cacciola

[boost] Re: Re: Formal Review Request: class optional

2002-11-22 Thread Fernando Cacciola
Maybe, but actually, I don't think optional should work with references. It is supposed to wrap a 'value', not a reference/pointer. Fernando Cacciola Why? I always did not like the fact that I need to switch to pointers when my reference argument became optional. Wait... mayb

Re: [boost] Re: Formal Review Request: class optional

2002-11-25 Thread Fernando Cacciola
- Original Message - From: Vincent Finn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 12:16 PM Subject: [boost] Re: Formal Review Request: class optional Fernando Cacciola wrote: - Original Message - From: Vincent Finn [EMAIL PROTECTED] And now

Re: [boost] Re: Re: Formal Review Request: class optional

2002-11-25 Thread Fernando Cacciola
to be a reference because of the above. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Factoring out Test Library wrapstrstream

2002-11-26 Thread Fernando Cacciola
it... Therefore, is it possible to factor out this class so it can be used standalone? Say, as /utility/wrapstrstream.hpp. Gennaidy, what do you think? TIA, Fernando Cacciola Well, if there is an interest in reuse of this class I do not see the reason why not. BTW at very end of 1.29 I added

Re: [boost] Factoring out Test Library wrapstrstream

2002-11-27 Thread Fernando Cacciola
a nice solution for it. All right. I will try to prepare standalone file + doc for submission. Do we need the review for this? I don't think we should need a review for this. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org

Re: [boost] [Test] Minor patch for bcc

2002-12-03 Thread Fernando Cacciola
to the files including Test headers: ... #ifdef __BORLANDC__ #pragma hdrstop #endif #includeboost/test/test_tools.hpp Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Re: [Test] Minor patch for bcc

2002-12-03 Thread Fernando Cacciola
that the Test headers might be included by other headers, but in such a case, the conditional hdrstop would have to be placed in the proper place. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-09 Thread Fernando Cacciola
comments are based on the design/interface and not the implementation. I'll look at the implementation when time permits, but don't expect anything to change my vote for inclusion. William E. Kempf Thanks! Fernando Cacciola ___ Unsubscribe other chang

Re: [boost] Formal review: Optional library

2002-12-09 Thread Fernando Cacciola
- Original Message - From: Glen Knowles [EMAIL PROTECTED] To: 'Boost mailing list' [EMAIL PROTECTED] Sent: Monday, December 09, 2002 6:42 PM Subject: RE: [boost] Formal review: Optional library From: Fernando Cacciola [mailto:[EMAIL PROTECTED]] * I'm unsure about the presence

Re: [boost] Re: Formal review: Optional library

2002-12-09 Thread Fernando Cacciola
- Original Message - From: Dirk Gerrits [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 6:14 PM Subject: [boost] Re: Formal review: Optional library Fernando Cacciola wrote: I'm actually trying to vouch for my peek/acquire idiom here. Essentially, the name

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: William E. Kempf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 7:48 PM Subject: Re: [boost] Formal review: Optional library Fernando Cacciola said: William E. Kempf [EMAIL PROTECTED] wrote in message * I believe there should

Re: [boost] Compile-time print

2002-12-10 Thread Fernando Cacciola
- Original Message - From: David Abrahams [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 1:10 PM Subject: Re: [boost] Compile-time print David A. Greene [EMAIL PROTECTED] writes: Fernando Cacciola wrote: - Original Message

Re: [boost] Re: Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 9:24 AM Subject: Re: [boost] Re: Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] Considering a member function that returns

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 9:23 AM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] The conversion to bool for a smart pointer

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Anthony Williams [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 9:46 AM Subject: Re: [boost] Formal review: Optional library Fernando Cacciola writes: - Original Message - From: Glen Knowles [EMAIL

Re: [boost] Re: Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 3:21 PM Subject: Re: [boost] Re: Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] I don't know of 'standard' examples, but in my

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 3:33 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] I don't think that optionalbool is an important

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
complaining about lack of deep constantness on wrappers like optional What do others think? Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 4:26 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] I understand your reasoning, but what do you

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Joel de Guzman [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 5:21 PM Subject: Re: [boost] Formal review: Optional library - Original Message - From: Fernando Cacciola [EMAIL PROTECTED] optional

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
[EMAIL PROTECTED] writes: - Original Message - From: Fernando Cacciola [EMAIL PROTECTED] optional is trying to model using C++ a concept that it is not really covered by the language, that of uninitialzed values. It uses pointer semantics *just* because pointers

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
) optionalbool p ; bool x = p ; // But here the line above could very well supposed to be: bool x = *p; Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-10 Thread Fernando Cacciola
- Original Message - From: Joel de Guzman [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 6:47 PM Subject: Re: [boost] Formal review: Optional library - Original Message - From: Fernando Cacciola [EMAIL PROTECTED] - Original

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
{ optional2 ( T const val ) v(val) {} T const operator *() { return val; } // No Dereference here T val ; } ; Anyway, if yoy know how to make an efficient implementation like the second one with an aligned storage I'll be happy to use it. Fernando Cacciola

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: William E. Kempf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 7:04 PM Subject: Re: [boost] Formal review: Optional library Fernando Cacciola said: But if I wrote: optionalint x = foo(); if ( x ) some(x); it really

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 10:21 AM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] I still don't like to think of optional

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
I see no benefit in defining relational operators directly (thus these operators will be poisoned) Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: David Abrahams [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 12:46 PM Subject: Re: [boost] Formal review: Optional library Fernando Cacciola [EMAIL PROTECTED] writes: Why do you think aligned_storageT

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
is somewhat different so it affect the rest of the review. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Formal Review: Optional library

2002-12-11 Thread Fernando Cacciola
and more to the point IMO. I agree is shorter, but I disagree is more to the point. Anyway, I've came to get used to 'optional', so is very unlikely that I'll change it. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 2:22 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] [...] Conclusion: I will adopt William's reset

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 5:49 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] You should consider providing operator(std

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
because they would be comparing values (pointee) which is totally unlike pointers (you don't compare pointee values when comparing pointers) Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 5:47 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] [...] (1) deep-constantness: I Followed

Re: [boost] Formal review: Optional library

2002-12-11 Thread Fernando Cacciola
- Original Message - From: William E. Kempf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 6:45 PM Subject: Re: [boost] Formal review: Optional library David Abrahams said: Peter Dimov [EMAIL PROTECTED] writes: From: Fernando Cacciola [EMAIL PROTECTED

[boost] Re: Optional Formal Review

2002-12-11 Thread Fernando Cacciola
r errors! :-) ...though the __wrong__ operator*() escaped me :-( Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
, and the implied aliasing that *o1=3 implies *o2==3 holds. (o1 == o2 ) - false, so no aliasing is implied. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 9:41 AM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] Let me check if I followed your logic

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
- Original Message - From: William E. Kempf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 12:18 PM Subject: Re: [boost] Formal review: Optional library Fernando Cacciola said: From: Peter Dimov [EMAIL PROTECTED] From: Fernando Cacciola [EMAIL PROTECTED

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 1:00 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] Yes, I thought about that, too

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 3:59 PM Subject: Re: [boost] Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] From: Peter Dimov [EMAIL PROTECTED] True, swap

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
optional_detail is no longer needed so you may remove it before unpacking the zip. Thanks. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
- Original Message - From: William E. Kempf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 5:31 PM Subject: Re: [boost] Formal review: Optional library Fernando Cacciola said: From: Peter Dimov [EMAIL PROTECTED] From: Fernando Cacciola [EMAIL PROTECTED

Re: [boost] Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
have been optionalT m(t); foo(m, m); // comparison inside yields false Nop... :-) it compares true because get_pointer(x)==get_poiner(x) is true for any x, whether initialized or not. In fact, this is the very reason why I choosen this definition. It matches pointer aliasing. Fernando

[boost] Re: Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
- Original Message - From: Peter Dimov [EMAIL PROTECTED] Newsgroups: gmane.comp.lib.boost.devel Sent: Thursday, December 12, 2002 6:24 PM Subject: Re: Formal review: Optional library From: Fernando Cacciola [EMAIL PROTECTED] optionalT m(t); foo(m, m); // comparison inside

[boost] Re: Formal review: Optional library

2002-12-12 Thread Fernando Cacciola
William E. Kempf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola said: Due to some significant changes to the optional class, I had to upload a new version so that the review can continue based on the revised class.

Re: [boost] Re: Optional Review, consider iterators

2002-12-12 Thread Fernando Cacciola
if this pointer path is followed. This is what I will do. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Re: Formal review: Optional library

2002-12-13 Thread Fernando Cacciola
) ; T const* operator - () const ; T* operator - () ; T const operator* () const ; T operator* () ; T const* get() const ; T* get() ; operator safe_bool() const ; friend void swap ( optionalT x, optionalT y ) ; Fernando Cacciola

[boost] Re: Re: Formal review: Optional library

2002-12-13 Thread Fernando Cacciola
Peter Dimov [EMAIL PROTECTED] wrote in message 008901c2a2a8$9d1af430$1d00a8c0@pdimov2">news:008901c2a2a8$9d1af430$1d00a8c0@pdimov2... From: Fernando Cacciola [EMAIL PROTECTED] William E. Kempf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:

Re: [boost] (corrected) review of optional library

2002-12-13 Thread Fernando Cacciola
originally by Peter Dimov; it used to be called statefull_t Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: Formal review: Optional library

2002-12-13 Thread Fernando Cacciola
istory's sake is not always the best option. True... holding on to it for history's sake alone treats evolution; but learnig from history is quite different; some things are repeated time after time simply because they really work. Fernando

[boost] Re: Re: Re: Re: Re: Formal review: Optional library

2002-12-15 Thread Fernando Cacciola
-- :-) Joel de Guzman [EMAIL PROTECTED] escribió en el mensaje 009501c2a3de$319bb370$a7564eca@kim">news:009501c2a3de$319bb370$a7564eca@kim... - Original Message - From: Fernando Cacciola [EMAIL PROTECTED] What's wrong with borrowing a well formed concept from other l

[boost] Re: Re: Formal review: Optional library

2002-12-15 Thread Fernando Cacciola
David Abrahams [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... William E. Kempf [EMAIL PROTECTED] writes: Fernando Cacciola said: However, and very unfortunately, this _requires_ the properly well defined relational operators to be di

[boost] Re: Re: Formal review: Optional library

2002-12-15 Thread Fernando Cacciola
William E. Kempf [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola said: [snip William's comments about the interface with operator T] I agree with your comments about the interface with operator T. I show it in the post, actually,

Re: [boost] Compile-time print

2002-12-20 Thread Fernando Cacciola
- Original Message - From: David Abrahams [EMAIL PROTECTED] To: Boost mailing list [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 3:40 PM Subject: Re: [boost] Compile-time print Fernando Cacciola [EMAIL PROTECTED] writes: I don't really understand what's going

[boost] Re: Review results: Optional library

2003-01-21 Thread Fernando Cacciola
manually, using putty, so that you can accept the string. That may or may not be the problem. Aha... So it stoped at some prompt which I didn't see perhaps... Fernando Cacciola [home] ___ Unsubscribe other changes: http://lists.boost.org/mail

[boost] Re: Re: Review results: Optional library

2003-01-21 Thread Fernando Cacciola
[Just got here at home from the office... sorry for the delay] David Abrahams [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola [EMAIL PROTECTED] writes: According to the docs I've read so far, plink.exe/putty.exe is windows eq

[boost] Re: Review results: Optional library

2003-01-21 Thread Fernando Cacciola
[Just got here at home from the office... sorry for the delay] William E. Kempf [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola said: Here's a description of my configuration and attempts in case someone can help me (h

[boost] Re: Review results: Optional library

2003-01-22 Thread Fernando Cacciola
t. A few __minutes__ after reading the documentation I was successfully able to checkout, add and commit the optional files! Thanks Gustavo! It's on CVS now. So, what else should I do? Is there something I need to setup in order to add optional to the regression tests? TIA. -- Fernando

[boost] Re: Re: Review results: Optional library

2003-01-23 Thread Fernando Cacciola
Beman Dawes [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 01:56 PM 1/22/2003, Douglas Paul Gregor wrote: On Wed, 22 Jan 2003, Fernando Cacciola wrote: So, what else should I do? Is there something I need to setup in order to add

[boost] Re: Re: Re: Re: Review results: Optional library

2003-01-23 Thread Fernando Cacciola
William E. Kempf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola said: William E. Kempf [EMAIL PROTECTED] wrote in message Fernando Cacciola said: However, shouldn't you be using run instead of unit-test in the Jamfile? Ye

[boost] Re: Review results: Optional library

2003-01-24 Thread Fernando Cacciola
I've finally updated my Cygwin installation, so I was able to run bjam with gcc and experiment with the optional's Jamfile. The just committed Optional's test suite now includes failure cases. -- Fernando Cacciola ___ Unsubscribe other changes

[boost] Optional update

2003-01-27 Thread Fernando Cacciola
I've fixed Optional for MSV6.0 Once the regression tests are updated, I'll see if I can fix it for the other compilers too. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Optional update

2003-01-27 Thread Fernando Cacciola
Fernando Cacciola [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've fixed Optional for MSV6.0 Once the regression tests are updated, I'll see if I can fix it for the other compilers too. I'm looking at the new regression tests. VC6.0 final

[boost] Re: Optional update

2003-01-28 Thread Fernando Cacciola
Daniel Yerushalmi [EMAIL PROTECTED] wrote in message b15dfk$h89$[EMAIL PROTECTED]">news:b15dfk$h89$[EMAIL PROTECTED]... In visual C 7 The result are: Thanks... but I was unforgivable lazy and post an Ill-formed program (should have tested first!) Could you tyr again with this corrected

[boost] Re: Re: Optional update

2003-01-28 Thread Fernando Cacciola
Peter Dimov [EMAIL PROTECTED] wrote in message 007701c2c6d2$0ef89880$1d00a8c0@pdimov2">news:007701c2c6d2$0ef89880$1d00a8c0@pdimov2... From: Fernando Cacciola [EMAIL PROTECTED] [...] templateclass T struct X { X ( X const ) ; templateclass U X ( XU const ) ; } ; As a

[boost] gcc3.2, mpl::integral_c and enums

2003-01-31 Thread Fernando Cacciola
there is int_c already, remove next/prior from integral_c altoghether. (b) add a special enum_c. What do you think? -- Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: gcc3.2, mpl::integral_c and enums

2003-01-31 Thread Fernando Cacciola
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola [EMAIL PROTECTED] writes: Hi, I'm having the following problem (?) with mpl::integral_c. Since it is intended to encapsulate an Integral Constant, I thought that it

Re: [boost] Re: boost/mpl/integral_c.hpp and Borland

2003-02-03 Thread Fernando Cacciola
- Original Message - From: David Abrahams [EMAIL PROTECTED] To: Beman Dawes [EMAIL PROTECTED] Cc: boost [EMAIL PROTECTED]; Aleksey Gurtovoy [EMAIL PROTECTED]; Fernando Cacciola [EMAIL PROTECTED] Sent: Friday, January 31, 2003 9:58 PM Subject: [boost] Re: boost/mpl/integral_c.hpp

[boost] Current is_convertible borken for bcc5.5.1

2003-02-03 Thread Fernando Cacciola
today. Indeed, version 1.10 (the previous) works fine. (that is, I was able to build the FS library) I attach here the compiler output using the -Q compiler option (which shows extended error information). Fernando Cacciola Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland ..\src

[boost] Re: Current is_convertible borken for bcc5.5.1

2003-02-04 Thread Fernando Cacciola
::is_convertible_implref_type,To::value, ::boost::type_traits::ice_not ::boost::is_arrayTo::value ::value ::value) ); }; BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_convertible,From,To,::boost::detail::is_conv ertible_forwarderFrom,To::value)) #endif -- Fernando

[boost] Re: integral_c on g++2.95.3

2003-02-04 Thread Fernando Cacciola
integral_cT, T(value - 1) prior; Hey, does that one work for Borland, too? Maybe we could get rid of the conditionals? The conditionals for using 'N' instead of 'value' are still needed. The c-style cast works, though. -- Fernando Cacciola ___ Unsubscribe

[boost] Re: some more questions on MPL and Borland

2003-02-04 Thread Fernando Cacciola
; }; struct E {}; struct F : CD {}; struct G : CE {}; Look at my recent thread: Current is_convertible borken for bcc5.5.1, In my last message I posted a fix for bcc5.5.1. -- Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org

[boost] Re: integral_c on g++2.95.3

2003-02-05 Thread Fernando Cacciola
Gennaro Prota [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 4 Feb 2003 13:03:05 -0300, Fernando Cacciola [EMAIL PROTECTED] wrote: Dave Abrahams wrote: On Tuesday, February 04, 2003 8:05 AM [GMT+1=CET], Joel de Guzman [EMAIL PROTECTE

[boost] Re: integral_c on g++2.95.3

2003-02-05 Thread Fernando Cacciola
merators to undefined behavior. Do we really want that? Good point, however, I think that the *intent* of 'integral_c' is to represent values that are 'integral constant expressions', which paricularly includes enumerations besides ordinary integral type values. -- Fernando

[boost] Re: integral_c on g++2.95.3

2003-02-05 Thread Fernando Cacciola
Fernando Cacciola [EMAIL PROTECTED] wrote in message b1r24q$c16$[EMAIL PROTECTED]">news:b1r24q$c16$[EMAIL PROTECTED]... typedef integral_cT, (integral_cT, N::value) + 1 next; typedef integral_cT, (integral_cT, N::value) - 1 prior; [snip] I agree, at least in theory;

[boost] Re: integral_c on g++2.95.3

2003-02-05 Thread Fernando Cacciola
Gennaro Prota wrote: On Wed, 5 Feb 2003 10:30:01 -0300, Fernando Cacciola [EMAIL PROTECTED] wrote: Gennaro Prota [EMAIL PROTECTED] wrote in message Enumerations are not integral types. Also, the presence of next and prior exposes the use with enumerators to undefined behavior. Do we

[boost] Re: 'optional' - request for extension

2003-02-14 Thread Fernando Cacciola
{sorry if this appears twice... but the last post didn't seem to go thru} Aleksey Gurtovoy wrote: Fernando Cacciola wrote: OK, I can see the motivation: We can have a noncopyable class and need an optional object of it. Following optional semantics, it would be spelled: boost

[boost] Re: Formal Review: Variant Library

2003-02-17 Thread Fernando Cacciola
. AFACIT there are many changes but they're all trivial. I can assist them by indicating what to change, but I don't have the time right now to made the changes myself. Thanks. Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org

[boost] Re: 'optional' - request for extension

2003-02-18 Thread Fernando Cacciola
Eric Friedman [EMAIL PROTECTED] wrote in message b2s34c$bav$[EMAIL PROTECTED]">news:b2s34c$bav$[EMAIL PROTECTED]... Fernando Cacciola wrote: [snip] (3) variant dependency. We are just about to review boost::variant. I was planning to wrap optional around variant discarding its

[boost] Re: Formal Review: Variant Library

2003-02-18 Thread Fernando Cacciola
Eric Friedman [EMAIL PROTECTED] wrote in message b2s4b1$eof$[EMAIL PROTECTED]">news:b2s4b1$eof$[EMAIL PROTECTED]... Fernando Cacciola wrote: I'm trying the variant library, by currently it doesn't compile with bcc551. I'd like to be able to compile it with my compiler so I can

[boost] Re: Formal Review: Variant Library

2003-02-18 Thread Fernando Cacciola
; #if BOOST_WORKAROUND(__BORLANDC__) #pragma option pop #endif } -- Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Formal review or Variant Library (Ed B.)

2003-02-19 Thread Fernando Cacciola
. What's wrong with it? What does optionalT add? Exactly. An optional reference is almost like a possibly null pointer, except that references must be bounded. If given a particular design you would need optionalT, then you definitely need T* instead. -- Fernando

[boost] Re: Formal review or Variant Library (Ed B.)

2003-02-19 Thread Fernando Cacciola
be NULL. (T in this case is int) -- Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Re: Re: Formal review or Variant Library (Ed B.)

2003-02-19 Thread Fernando Cacciola
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Fernando Cacciola [EMAIL PROTECTED] writes: Any idea about what to do with reference to reference problem? What's the problem? Currently, optionalY has: explicit optional ( T c

[boost] Re: shared_ptr and null pointer values.

2003-02-21 Thread Fernando Cacciola
Peter Dimov [EMAIL PROTECTED] wrote in message 006901c2d9c2$1db8fa60$1d00a8c0@pdimov2">news:006901c2d9c2$1db8fa60$1d00a8c0@pdimov2... Fernando Cacciola (Home) wrote: [...] One is initialization from a null pointer value, as in: struct C { C() : ptr(0) {} shared_

[boost] Re: Re: Re: Re: partial proposal

2003-02-24 Thread Fernando Cacciola
is used many times in the same object, gathering m_initialized types and m_storage in separate lists: What for ? -- Fernando Cacciola ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

  1   2   >