Re: [boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Paul Mensonides
Beman Dawes wrote: Pavel, Official patch 4 was released just now: http://bdn.borland.com/article/0,1410,29793,00.html Among bugs fixed is: - The bcc compiler now compiles code containing a const member function. Hum... Interesting... Thanks for letting me know. Could some

Re: [boost] Re: Formal Review for Boost I/O Library

2003-02-27 Thread Thomas Witt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am responsible for the overlap. This is due to an email getting lost. The I/O review may be extended to make up for the overlap. I will make a posting as soon as a solution is found. In the meantime we will have two reviews running in parallel.

[boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Russell Hind
Paul Mensonides wrote: Beman Dawes wrote: #define A() 1 #define B(m) m 2 B(A) I've run the above through the preprocessor and heres the output /* Unit1.cpp 1: */ /* Unit1.cpp 2: */ /* Unit1.cpp 3: */ /* Unit1.cpp 4: */A 2 Tested using the preprocess option with BCB6Pro Update 4. This looks

Re: [boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Paul Mensonides
Russell Hind wrote: #define A() 1 #define B(m) m 2 B(A) I've run the above through the preprocessor and heres the output /* Unit1.cpp 1: */ /* Unit1.cpp 2: */ /* Unit1.cpp 3: */ /* Unit1.cpp 4: */A 2 Tested using the preprocess option with BCB6Pro Update 4. This looks like what

[boost] Re: Thread-Local Storage (TLS)andtemplates

2003-02-27 Thread Alexander Terekhov
Edward Diener wrote: [...] DllMain's DLL_THREAD_DETACH is a better design, I think you must realize that you are dealing with a company with millions and millions of developers Yeah. zillions of innocent programmers. http://tinyurl.com/6hlt regards, alexander. former MSDN-universal

Re: [boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Paul Mensonides
Russell Hind wrote: Sorry to say that the output is now incorrect. A2 instead of A 2. Checking the preprocessor output for this gives /* Unit1.cpp 9: */int main() { /* Unit1.cpp 10: */std::cout A 2 std::endl; /* Unit1.cpp 11: */return 0; which is again correct. This is strange since I

Re: [boost] possible addition to operators library

2003-02-27 Thread Sam Partington
Daniel Frey wrote: Daniel Frey wrote: No problem. IIRC it was Peter Dimov who came up with the safe-bool idiom first. At least I saw it first from him. Another way which works but results in worse error messages is this: template class T, class B = ::boost::detail::empty_base struct

[boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Russell Hind
FYI I've submitted it as QC#3629 Russell Paul Mensonides wrote: Russell Hind wrote: Sorry to say that the output is now incorrect. A2 instead of A 2. Checking the preprocessor output for this gives /* Unit1.cpp 9: */int main() { /* Unit1.cpp 10: */std::cout A 2 std::endl; /* Unit1.cpp 11:

[boost] Stats class

2003-02-27 Thread Michael Meyer
Statistics functionality would be extremely interesting. The idea would be to duplicate the basic notions of the mathematical theory as C++ classes. The conceptual hyrarchy (bottom to top) is as follows: 1. Probability distribution (implementation: random number generator). 2. Random Object

[boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Alisdair Meredith
Beman Dawes wrote: But I really don't want to change compilers in the midst of a release runup. So I've stuck a note on my calendar for March 12th to install the patch. If anyone thinks this is a problem, let me know. Assuming a new version number for __BORLANDC__ it might throw out some of

Re: [boost] [Boost.python] Help. string heap error!

2003-02-27 Thread David Abrahams
Kim Chang Han [EMAIL PROTECTED] writes: Here is my simple test code modified from embedding.cpp test code(by Dirk Gerrits). I successfully compiled, but my excutable raise heap error assertion when the time freeing the string result of the function py.hello(). Can I prevent this error? I

[boost] Re: resource manager naming

2003-02-27 Thread Alisdair Meredith
Phil Nash wrote: The fact is that most (I would hope) of those that are subscribed to the list know what a smart pointer is. Many would also make the extra connection between smart POINTERs and general RESOURCE management. Not sure even here we agree 100%. What is the precise scope of the

[boost] Re: [optional] Polymorphism

2003-02-27 Thread Philippe A. Bouchard
Philippe A. Bouchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] int main() { optionalB b; optionalC c; foo(b); //foo(c); } BTW implicit cast to reference types are not implicit under GCC, they have to be called explicitly. Template casts do not

[boost] Re: Is there any Interest in a Fixed Point Library?

2003-02-27 Thread Jason House
Kevin Atkinson wrote: Is there any interest in a fixed point math library. Well, I'm interested in a fixed point library :) Especially if it can be used as a template argument in place of a floating point type. Using templates the compiler can keep track of the radix point for you

[boost] Re: resource manager naming

2003-02-27 Thread Alisdair Meredith
Larry Evans wrote: Would the GOF name, proxy, be too non-specific? Policy names might provide the specifics (whether it's a pointer or a resource). Proxy, if anything, sends the wrong message to me. The name suggests 'reference', rather then 'owner' 'bookkeeper' is the best I can come up

[boost] newsgroup

2003-02-27 Thread Noel Yap
The news group advertised on the site, news.gmane.org/gmane.comp.lib.boost.devel, gives no response. Has it moved? Thanks, Noel -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

Re: [boost] Re: Is there any Interest in a Fixed Point Library?

2003-02-27 Thread Kevin Atkinson
On Thu, 27 Feb 2003, Jason House wrote: Kevin Atkinson wrote: Is there any interest in a fixed point math library. Well, I'm interested in a fixed point library :) Especially if it can be used as a template argument in place of a floating point type. Thanks. Using templates the

Re: [boost] Re: resource manager naming

2003-02-27 Thread David Abrahams
Larry Evans [EMAIL PROTECTED] writes: Alisdair Meredith wrote: Phil Nash wrote: [snip] Final disorganised point g When you think 'pointer' without a context, what concept do you associate first? Resource-manager? Or dereferencable? The very name suggests the latter to me! [Which

[boost] Re: newsgroup

2003-02-27 Thread Alisdair Meredith
Noel Yap wrote: The news group advertised on the site, news.gmane.org/gmane.comp.lib.boost.devel, gives no response. Has it moved? Not if you get this reply, I do all my boosting through Gmane g -- AlisdairM ___ Unsubscribe other changes:

Re: [boost] newsgroup

2003-02-27 Thread David Abrahams
Noel Yap [EMAIL PROTECTED] writes: The news group advertised on the site, news.gmane.org/gmane.comp.lib.boost.devel, gives no response. Has it moved? Works for me. Your post appears there. news://news.gmane.org/gmane.comp.lib.boost.devel -- Dave Abrahams Boost Consulting

Re: [boost] Re: resource manager naming

2003-02-27 Thread Sam Partington
Could it not just be called shared. After all it is merely a more general term of shared_ptr. And the type of the resource kind of makes it implicit. e.g. sharedfile is a shared file. crystal. Though this doesn't fit at all with non sharing policies. Sam Alisdair Meredith wrote: Larry

Re: [boost] Re: resource manager naming

2003-02-27 Thread David Abrahams
Sam Partington [EMAIL PROTECTED] writes: Could it not just be called shared. After all it is merely a more general term of shared_ptr. And the type of the resource kind of makes it implicit. std::auto_ptr is a non-shared resource manager. -- Dave Abrahams Boost Consulting

Re: [boost] Re: resource manager naming

2003-02-27 Thread Brian Gray
On Thursday, February 27, 2003, at 09:15 AM, David Abrahams wrote: Sam Partington [EMAIL PROTECTED] writes: Could it not just be called shared. After all it is merely a more general term of shared_ptr. And the type of the resource kind of makes it implicit. std::auto_ptr is a non-shared

Re: [boost] newsgroup

2003-02-27 Thread Blue, Reginald V
David Abrahams [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Noel Yap [EMAIL PROTECTED] writes: The news group advertised on the site, news.gmane.org/gmane.comp.lib.boost.devel, gives no response. Has it moved? Works for me. Your post appears there.

RE: [boost] Is there any Interest in a Fixed Point Library?

2003-02-27 Thread Paul A. Bristow
Yes - this looks potentially rather useful for some tasks, especially embedded systems. Why on earth didn't the language include fixed point and/or fractional types? As you observe, the increased accuracy compared to float (just a little too small for some measurements like weights) but with half

[boost] Formal Review I/O Library Extended

2003-02-27 Thread Thomas Witt
Hi, To make up for the schedule problems the formal review for I/O is extended until March 11th. So there is no need to hurry for those willing finish their variant review first. As said before the variant review is still open until March 2nd. Thomas Boost Review Wizard -- Dipl.-Ing.

RE: [boost] Re: resource manager naming

2003-02-27 Thread Matt Hurd
-Original Message- Behalf Of Alisdair Meredith Subject: [boost] Re: resource manager naming Larry Evans wrote: Would the GOF name, proxy, be too non-specific? Policy names might provide the specifics (whether it's a pointer or a resource). Proxy, if anything, sends the

[boost] Glitch with mpl::placeholder(s)?

2003-02-27 Thread Andreas Huber
Hi Aleksey I have got mpl out of CVS 5 minutes ago. Code that previously compiled fine now shows the following error: d:\Data\boostCvsRoot\boost\boost\mpl\aux_\include_preprocessed.hpp(27) : fatal error C1083: Cannot open include file: 'boost/mpl/aux_/preprocessed/msvc70/placeholder.hpp': No

[boost] Re: Is there any Interest in a Fixed Point Library?

2003-02-27 Thread Jason House
Kevin Atkinson wrote: On Thu, 27 Feb 2003, Jason House wrote: One thought... It looks like the template parameter should be an integer type (of course, right?)... I think that there is some way to cause a non integer type to generate a compiler error. Of course, considering other

Re: [boost] Glitch with mpl::placeholder(s)?

2003-02-27 Thread David Abrahams
Hi Andreas, Aleksey just did a big round of renaming before the first official release of MPL (including changes like int_c - int_, and placeholder - placeholders); I believe that placeholder.hpp is obsolete and should have been removed from CVS. In this case we could keep it for

[boost] Re: resource manager naming

2003-02-27 Thread Jason House
managed_copy? How about an abbreviated name? Like rsrc_mgr? Although, I don't like that abbreviation for resource... ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Stats - smallish points

2003-02-27 Thread Matt Hurd
I see in the Wiki a couple of comments about variance/std dev with n and n-1 being referred to at the denominator. Just to clear it up: when it is a complete population the denominator should be n. when it is a random sample it is n-1. sample variance = sum(Xi - mean(X))^2/(n-1) or more

[boost] Re: Glitch with mpl::placeholder(s)?

2003-02-27 Thread Andreas Huber
David Abrahams [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Andreas, Aleksey just did a big round of renaming before the first official release of MPL (including changes like int_c - int_, and placeholder - placeholders); I believe that placeholder.hpp is obsolete and should

Re: [boost] Re: Borland C++ Builder patch 4 released

2003-02-27 Thread Samuel Krempp
On Thu, 2003-02-27 at 13:58, Alisdair Meredith wrote: [Could make config testing interesting if 0x0563 has fixes not present in the Kylix release, 0x0570] indeed. I guess it's the first time, thanks to Borland's 2 branches (kylix / Borland C++ Builder) using intertwined version numbers, that

Re: [boost] Re: resource manager naming

2003-02-27 Thread Joel de Guzman
Brian Gray wrote: On Thursday, February 27, 2003, at 09:15 AM, David Abrahams wrote: Sam Partington [EMAIL PROTECTED] writes: Could it not just be called shared. After all it is merely a more general term of shared_ptr. And the type of the resource kind of makes it implicit.

RE: [boost] Is there any Interest in a Fixed Point Library?

2003-02-27 Thread Kevin Atkinson
On Thu, 27 Feb 2003, Paul A. Bristow wrote: Yes - this looks potentially rather useful for some tasks, especially embedded systems. Why on earth didn't the language include fixed point and/or fractional types? Well in order for fractions to be really useful, that is to support exact values

[boost] Re: [optional] Polymorphism

2003-02-27 Thread Fernando Cacciola
Philippe A. Bouchard [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Philippe A. Bouchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] int main() { optionalB b; optionalC c; foo(b); //foo(c); } BTW implicit cast to

[boost] Re: [optional] Polymorphism

2003-02-27 Thread David B. Held
Fernando Cacciola [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [...] You would like to be dealing with: optionalB* and optionalD* Yes, exactly. but you can do this as well, so I figure that what you really need is a 'dynamic-type preserving' conversion between these

Re: [boost] Re: Is there any Interest in a Fixed Point Library?

2003-02-27 Thread Kevin Atkinson
On Thu, 27 Feb 2003, Jason House wrote: Kevin Atkinson wrote: On Thu, 27 Feb 2003, Jason House wrote: One thought... It looks like the template parameter should be an integer type (of course, right?)... I think that there is some way to cause a non integer type to generate a

[boost] Re: resource manager naming

2003-02-27 Thread Dave Gomboc
So then reverse resource_manager and get managed_resource, or just managed. Why not just resource? Management is implied anyway; that's the reason for the existence of the class. *laugh* I was thinking exactly the opposite. To me, the resource itself is clear from the template parameter

Re: [boost] Re: resource manager naming

2003-02-27 Thread Joel de Guzman
Dave Gomboc wrote: So then reverse resource_manager and get managed_resource, or just managed. Why not just resource? Management is implied anyway; that's the reason for the existence of the class. *laugh* I was thinking exactly the opposite. To me, the resource itself is clear from

Re: [boost] Re: resource manager naming

2003-02-27 Thread Terje Slettebø
From: Joel de Guzman [EMAIL PROTECTED] Dave Gomboc wrote: So then reverse resource_manager and get managed_resource, or just managed. Why not just resource? Management is implied anyway; that's the reason for the existence of the class. *laugh* I was thinking exactly the opposite.

Re: [boost] Re: resource manager naming

2003-02-27 Thread Joel de Guzman
Terje Slettebø wrote: From: Joel de Guzman [EMAIL PROTECTED] Dave Gomboc wrote: So then reverse resource_manager and get managed_resource, or just managed. Why not just resource? Management is implied anyway; that's the reason for the existence of the class. *laugh* I was thinking