|
Boost : |
From: Joel de Guzman (joel_at_[hidden])
Date: 2006-09-24 18:26:46
Andy Little wrote:
> "Joel de Guzman" <joel_at_[hidden]> wrote in message
> news:45148B4C.3030804_at_boost-consulting.com...
>> Andy Little wrote:
>>> "Joel de Guzman" <joel_at_[hidden]> wrote in message
>>> news:ef1t83$bhv$1_at_sea.gmane.org...
>>>> Andy Little wrote:
>>>>> "David Abrahams" <dave_at_[hidden]> wrote in message
>>>>> news:87fyenkjh9.fsf_at_pereiro.luannocracy.com...
>>>>>> AFAICT the name ftag should be changed to something more descriptive
>>>>>> and more certainly unique, e.g. boost_fusion_iterator_tag. Is there
>>>>>> a reason it needs to be so short?
>>>>> Why make such a trivial change to the interface post review? AFAICS now
>>>>> is
>>>>> too
>>>>> late, and will cause unnecessary pain to users.. like myself.
>>>> Well, actually, it shouldn't be a part of the interface.
>>>> Here, I'm used to calling it the f#%$tag :) It's not supposed
>>>> to be for public consumption, and I intend to enforce that.
>>>> Either way, it's not a good name (especially for minors. ;)
>>>> and it must be changed.
>>> And BTW its pretty public in the 'make your own iterator" part of the docs.
>> Yeah. That's unfortunate. I asked Dan to fix it. Anyway, I suggest you
>> do the right thing: specialize tag_of.
>
> AFAICS specialising tag_of don't seem to work with current CVS. I seem to need
> to put the intrusive fusion_tag F*tag in, then things work OK.
>
> Also should I be specialising category_of or using a category F*tag ?
>
> Keep rockin'.........
Dan told me that he actually fixed this f*tag already sometime ago.
It was, in fact, already touched in the review. However, the change
happened at a time when sourceforge had a failure (yeah I remember
that). There were some changes lost and he had to recreate some from
his local copy. Seems the f*tag issue was a victim of this outage.
Please hang on. Dan is in vacation now, but he'll fix it as soon as
he gets back. Anyway, I also have an iterator-adapter (iterator_facade),
sequence_facade and view_facade in the works. With it, it is easier
to write your own iterators, sequences and views. These will be
built on top of the tag dispatching scheme.
Keep rollin'..........
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk