[boost] Re: shared_ptr/weak_ptr and thread-safety

2003-05-28 Thread Trevor Taylor
Are you planning to implement a "real" pthread_refcount_t for, say, Windows and Linux/x86? Who? Me? No, I no nothing about any of this (as I've just demonstrated), it just seemed from your "Maybe one day we'll have a pthread_refcount_t" statement that things could be improved if one existed - so

[boost] Re: [filesystem] new functions proposals

2003-04-26 Thread Trevor Taylor
So it sounds to me like the :blat is *not* part of the extension. It sounds like the NT file name is made up of three parts: name, extension and "stream". In which case I think it is fine to have functions extension() and change_extension() - they just should not report or modify the stream par

[boost] Re: exception context

2003-03-28 Thread Trevor Taylor
(long post) After some thought, I'll broaden my response by (kind of) developing an exception use strategy that gives me what I want and addresses (a little) the "user messages vs debugging" question. Let's start with a "use-case" model of a system (system might be an application, server, libra

[boost] Re: exception context

2003-03-27 Thread Trevor Taylor
Hello everyone, A quick note to let you know I hadn't forgotten about my post... I finally got some time to get back to this - thanks to Russell, Alisdair, Thomas, Darren, Greg, Brian, Gennaro for your replies. At the moment I'm still trying to digest all the info posted (including the referen

[boost] exception context

2003-03-19 Thread Trevor Taylor
As a software user I am frequently frustrated by "an error occurred" like failure messages. As a developer I know that the software *knows* exactly what failed, why, and exactly what it was doing at the time, but doesn't pass any of this information on. Recently I developed some C++ where for the f