[boost] Re: [boost.variant] It is possible to make avariantLessThanComparable

2003-09-01 Thread Anthony Williams
demonstrate his/her intent explicitly. >> >> Other than the additional typing (the "required boilerplate"), are >> there other more fundamental objections? > > The fundamental objection is that you should not penalize the majority > because someone "might ne

[boost] 1.31.0 release schedule

2003-08-29 Thread Anthony Williams
When is the release of 1.31.0 planned? Within weeks or months? Will the variant library be part of 1.31.0? Thanks, Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response

[boost] Mutilated pages on server

2003-08-29 Thread Anthony Williams
m" dialog box with every page. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: API Review request: XML API for C++, second round

2003-06-27 Thread Anthony Williams
Hamish Mackenzie <[EMAIL PROTECTED]> writes: > On Fri, 2003-06-27 at 09:09, Anthony Williams wrote: > > What's wrong with just having boost::shared_ptr and > > boost::shared_ptr, boost::shared_ptr ? > > > > You could have each node store a boost::weak_pt

[boost] Re: API Review request: XML API for C++, second round

2003-06-27 Thread Anthony Williams
, so you can retrieve the document from it, but it doesn't keep it alive. Consequently, if you erase an element from the document, but you still have a pointer to it, then the element itself is OK, but it will then die when your pointer goes out of scope. Also, if the document goes out of scop

[boost] Re: an XML API in boost

2003-06-02 Thread Anthony Williams
.net/projects/axemill) to fulfil most of these goals, with the eventual goal of submitting it to boost. If you want to contribute code and/or ideas, please email me. Currently, it requires gcc 3.2 (though it should build with other relatively conforming compilers) and boost 1.29.0 (I intend to move t

[boost] Re: Boost.Build V2, Milestone 3 released

2003-05-23 Thread Anthony Williams
Vladimir Prus <[EMAIL PROTECTED]> writes: > Anthony Williams wrote: > > > Vladimir Prus <[EMAIL PROTECTED]> writes: > >> > Shame about the "NT symlinks not supported yet" errors... > >> > >> Hmm... I hope someone more knowledgeble

[boost] Re: Determining interest in combining_iterator

2003-03-28 Thread Anthony Williams
Anthony Williams <[EMAIL PROTECTED]> writes: > Thomas Becker <[EMAIL PROTECTED]> writes: > > I see now that with your tuple iterator, you are > > aiming much higher than I previously thought. Just > > like boost's transform iterators, my combining > >

[boost] Re: Determining interest in combining_iterator

2003-03-28 Thread Anthony Williams
ntion, and it might be that there is sufficiently little to make it not worth sharing, but I thought it worth exploring. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: Determining interest in combining_iterator

2003-03-28 Thread Anthony Williams
Thomas Becker <[EMAIL PROTECTED]> writes: > --- Anthony Williams > <[EMAIL PROTECTED]> wrote: > > OTOH, the situations I am thinking of require that > > the tuple of containers is > > really treated as a container of tuples, complete > > with the abil

[boost] Re: Determining interest in combining_iterator

2003-03-27 Thread Anthony Williams
Thomas Becker <[EMAIL PROTECTED]> writes: > > On 26 Mar 2003, Anthony Williams wrote: > > > It strikes me that if you dereference n iterators, > > you have n values, and the > > most natural way to store them is a tuple. > Once again: The big picture is that

[boost] Re: Determining interest in combining_iterator

2003-03-26 Thread Anthony Williams
Douglas Paul Gregor <[EMAIL PROTECTED]> writes: > On 26 Mar 2003, Anthony Williams wrote: > > It strikes me that if you dereference n iterators, you have n values, and > > the most natural way to store them is a tuple. Doing anything other than > > returning

[boost] Re: Determining interest in combining_iterator

2003-03-26 Thread Anthony Williams
Thomas Becker <[EMAIL PROTECTED]> writes: > > Anthony Williams wrote: > > The particular example I cited in the > > article is where a colleague > > had a pair of vectors which were the x and y values > > respectively for a > > graph. They were supplied

[boost] Re: Determining interest in combining_iterator

2003-03-25 Thread Anthony Williams
Thomas Becker <[EMAIL PROTECTED]> writes: > > Anthony Williams wrote: > > IMHO, it seems more logical to split the concept, so > > > the grouping of > > the iterators is separated from the transformation > > By "separating the grouping and the trans

[boost] Re: Determining interest in combining_iterator

2003-03-24 Thread Anthony Williams
cept, so the grouping of the iterators is separated from the transformation, and the existing transforming iterator adapter can be used for that part. I would be happy to work with you on a submission --- I have been meaning to submit my pair iterators to boost since I wrote them. Anthony -- Anthony

[boost] Re: shared_ptr extension with counter in object header

2003-02-24 Thread Anthony Williams
t its 5.3.4/10. I missed it. That's only for char arrays directly allocated with new themselves, not char arrays that are members or have automatic or static storage duration. You need to look at boost::aligned_storage (which is part of boost::optional IIRC) Anthony -- Anthony Willi

[boost] Cargill article on exception safety

2003-02-21 Thread Anthony Williams
The link to Cargill's article in more/generic_exception_safety.html is no longer valid. The correct link is: http://www.awprofessional.com/content/images/020163371x/supplements/Exception_Handling_Article.html (Why it is a "supplement" to More Effective C++ is beyond me) Anth

[boost] Re: smart_ptr vs smart_resource

2003-02-21 Thread Anthony Williams
"Phil Nash" <[EMAIL PROTECTED]> writes: > [Anthony Williams] > > On Windows, for example, you can use GlobalAlloc to allocate some memory, > and > > you get an HGLOBAL back --- a handle to the memory. You need to call > > GlobalLock with that handle to g

[boost] Re: smart_ptr vs smart_resource

2003-02-20 Thread Anthony Williams
there has been an intervening GlobalUnlock). Indeed, the pointer to the locked memory is essentially a separate resource, acquired with GlobalLock() and released with GlobalUnlock. It would be sensible to be able to use the same framework for both the handle and the pointer. Anthony -- Anthony

[boost] Re: No mail

2003-02-20 Thread Anthony Williams
Beman Dawes <[EMAIL PROTECTED]> writes: > At 05:27 AM 2/20/2003, Anthony Williams wrote: > > >Is there something up with the boost list today? I haven't received > >anything > >on the list since yesterday, though a quick check on gmane indicates that >

[boost] Re: Lock Classes: Does anyone care.

2003-02-20 Thread Anthony Williams
dded for the case where the resource was something else which had a clear-cut interface that was desirable. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] No mail

2003-02-20 Thread Anthony Williams
Is there something up with the boost list today? I haven't received anything on the list since yesterday, though a quick check on gmane indicates that there has been activity. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for t

Re: [boost] Formal Review: Variant Library

2003-02-18 Thread Anthony Williams
e for class T. * which() is documented to return "int", when the implementation returns "unsigned int". * extract() is badly named, as it retrieves a reference-to-T, not a T --- how about extract_reference()? Anthony -- Anthony Williams Senior Software Engineer, Beran

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

2003-02-13 Thread Anthony Williams
pyConstructible requirement isn't actually verified with a concept check, but you'd have to get the requirement dropped if you were to rely on it (which would probably mean implementing templated constructor/reset/operator= to avoid _having_ to use an optional to initialize you

Re: [boost] Re: Deadline for the Standard LibraryTechnicalReport

2003-02-04 Thread Anthony Williams
I qualify myself as a "Boost technical expert"? IIRC, you are interested in attending because you live near Oxford. If this is the case, if you speak to Lois Goldthwaite ([EMAIL PROTECTED]) you can join the UK Standards panel, and attend as a UK rep. Anthony -- Anthony Williams Senior Softw

Re: [boost] Re: Sprit into the boost distribution

2003-01-02 Thread Anthony Williams
es, in the boost working directory 7. "cvs update" on the boost working directory 8. label the new version in boost CVS Of course, you still have to avoid check-ins to both repositories. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when

Re: [boost] Formal review: Optional library

2002-12-13 Thread Anthony Williams
Fernando Cacciola writes: > > - 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: Opti

Re: [boost] Formal review: Optional library

2002-12-10 Thread Anthony Williams
a reference to the value, you can get its address, if necessary. I prefer the member interface to the non-member interface, in this instance. You might like to use the techniques from my StrongStorage class (see the boost files section on yahoo) to ensure integrity in the face of exception

[boost] Re: dangerous_cast<>

2002-12-09 Thread Anthony Williams
orage." and "An object has a type (3.9). The term object type refers to the type with which the object is created." so void is not an object type, since you cannot create objects of type void, as it "is an incomplete type that cannot be completed." (3.9.1p9)

[boost] placed_new <>, was Re: dangerous_cast<>

2002-12-09 Thread Anthony Williams
; Object* const placed_new (Storage* const storage) { >new (storage) Object; >return ...; > } > > // .. support construction with (1, 2, 3, ...) parameters as well Because that gets you nothing vs just using placement new directly. > "Eric Woodruff" <[EMAIL PROTECTED]> wrote

Re: [boost] dangerous_cast<>

2002-12-09 Thread Anthony Williams
Gabriel Dos Reis writes: > > Hi, > > Anthony Williams <[EMAIL PROTECTED]> writes: > > [...] > > | > You made youself clear. > | > > | > However, there are two running issues originating from a claim of Dave > | > that dangerou

[boost] Re: dangerous_cast<>

2002-12-05 Thread Anthony Williams
Eric Woodruff writes: > "Anthony Williams" <[EMAIL PROTECTED]> wrote in > message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Thus, given that h.storage is properly aligned, (which is the purpose of > the > > other union member), after &

Re: [boost] dangerous_cast<>

2002-12-05 Thread Anthony Williams
Gabriel Dos Reis writes: > Anthony Williams <[EMAIL PROTECTED]> writes: > > | > Anthony Williams <[EMAIL PROTECTED]> writes: > | > > | > [...] > | > > | > | 3.10p15: > | > | "If a program attempts to access the store

Re: [boost] dangerous_cast<>

2002-12-05 Thread Anthony Williams
Gabriel Dos Reis writes: > Hi, Hi > Anthony Williams <[EMAIL PROTECTED]> writes: > > [...] > > | 3.10p15: > | "If a program attempts to access the stored value of an object through an > | lvalue of other than one of the following types the behavi

Re: [boost] dangerous_cast<>

2002-12-05 Thread Anthony Williams
of(T) bytes starting at static_cast(h.storage) (since that is what was passed to placement new), so static_cast(pfoo)==static_cast(h.storage) if pfoo is the value returned from the new expression. Thus static_cast(static_cast(pfoo)) ==static_cast(static_cast(h.storage)) ==pfoo and we're legal. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

RE: [boost] Call for Volunteers [license review]

2002-12-05 Thread Anthony Williams
Glen Knowles writes: > From: Anthony Williams [mailto:[EMAIL PROTECTED]] > >The SleepyCat license is convered here: > > As a paying licensee of SleepyCat I can atest that it is more unsuitable > then you indicated. The "free" license requires that all the source

[boost] Call for Volunteers [license review]

2002-12-04 Thread Anthony Williams
.com/cgi-bin/boost_wiki/wiki.pl?Boost_License/Sleepycat_License Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mail

Re: [boost] Re: implicit_cast inventor

2002-12-02 Thread Anthony Williams
not make assumptions. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Standard interface for adaptable function objects?

2002-11-22 Thread Anthony Williams
David Abrahams writes: > Anthony Williams <[EMAIL PROTECTED]> writes: > > > David Abrahams writes: > > > > > > Do we have any precedent for ways to find out what the arity and > > > argument types of an arbitrary function object is (I'm

[boost] pointer to member

2002-11-22 Thread Anthony Williams
ber-functions; I've a feeling that you'll have to partially specialize get_pointer_to_member_details for each member function type you want to match (number of args and cv-qualification) HTH Anthony -- Anthony Williams Senior Software Engineer, Beran Instru

[boost] Standard interface for adaptable function objects?

2002-11-22 Thread Anthony Williams
, rather than just abort compilation) Does this give you what you want? Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] Re: lexicalCompare

2002-11-18 Thread Anthony Williams
Gennaro Prota writes: > On 14 Nov 2002 12:40:38 +0000, Anthony Williams > <[EMAIL PROTECTED]> wrote: > > >I have uploaded lexical_compare.hpp to the yahoo files area. It contains > >implementations of the function template lexicalCompare. > > Just

[boost] iterator_adaptors

2002-11-14 Thread Anthony Williams
hands on the code. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

[boost] lexicalCompare

2002-11-14 Thread Anthony Williams
gt; first sequence is equivalent to the second >0 => second sequence is less than the first Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. ___ Unsubscribe &

[boost] Re: Re: Re: Property_map docs

2002-11-14 Thread Anthony Williams
Edward Diener writes: > "Anthony Williams" <[EMAIL PROTECTED]> wrote in > message news:15826.2782.569000.619636@;gargle.gargle.HOWL... > > Edward Diener writes: > > > Finally I would like a non-partisan answer from you to my next question > and >

[boost] Re: Re: Re: Property_map docs

2002-11-13 Thread Anthony Williams
rs from reading the property map docs ? As Jan Langer pointed out, there are specific pages for each of the property map categories. If you missed these you will have difficulty piecing everything together. Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments

[boost] Re: Re: Re: Property_map docs

2002-11-12 Thread Anthony Williams
at you can store the reference for later use, or pass it to another function, and is actually the key benefit of using operator[] rather than plain get()/put(). Anthony -- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response. _