Re: [boost] New configuration macro BOOST_INTEL

2003-05-23 Thread Guillaume Melquiond
Since nobody complained, I have added this new configuration macro. I didn't apply the patches for type_traits and regex (is there a way to know if Boost cvs contains the current version of a library or if all the changes will be destroyed the next time the maintainer commits a new version?).

Re: [boost] smart assert (was: ENFORCE/ better assertion technique)

2003-05-23 Thread Darren Cook
Following on from that, there seems some overlap between your proposed asserts and Boost.Test's BOOST_CHECK_() macros. I wonder if it would be possible to have an assert handler for use in the unit test framework, and then I can use SMART_ASSERT() in both main code and in test code and only have

[boost] program options - generic validator

2003-05-23 Thread Neal D. Becker
Why not a generic default validator? BTW, I know typeid (T).name() doesn't really work, but I'm not sure what would be better. If not totally generic, then instead at least all fundamental types could be handled by a single generic function, using maybe is_pod to dispatch. namespace boost {

Re: [boost] New configuration macro BOOST_INTEL

2003-05-23 Thread Guillaume Melquiond
On Fri, 23 May 2003, John Maddock wrote: I didn't apply the patches for type_traits and regex (is there a way to know if Boost cvs contains the current version of a library or if all the changes will be destroyed the next time the maintainer commits a new version?). They would benefit

[boost] Re: program options - generic validator

2003-05-23 Thread Vladimir Prus
Hi Neal, Neal D. Becker wrote: Why not a generic default validator? Good question! I think that I planned to define specialization for common types, like int and float in library sources, so that client code does not have to instantinate them. As it is now, there are only specialized version,

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

2003-05-23 Thread Larry Evans
Alexander Terekhov wrote: 2 x Forward Inline [snip] There's no COW semantics here. It's rather simple, really. Any operation that updates the use-count needs to be synchronized with respect to other readers/writers. The basic thread safety is pretty much the same stuff as POSIX's memory