Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-12-07 10:08:57


On 12/07/2004 05:54 AM, Peder Holt wrote:
> On Tue, 7 Dec 2004 08:35:16 +0100, Peder Holt <peder.holt_at_[hidden]> wrote:
[snip]
> ... But this is nothing more than what you describe as a "non-deduced
> context" :( Can't be applied in the general case, but solves the stl
> iterators problem for selected compilers. Of course, if this doesn't
> compile with VC7.1, it is of no use anyway.

Peder,

There's a workaround to non-deduced context, but using it requires
specializations for each instantiation of the outer class.
At least I think it works. I've used it with intel's compiler
and it seems to work. A discussion of the workaround and
a possible solution in a minor change to the language is
discussed in:

http://groups-beta.google.com/group/comp.std.c++/messages/ea2f9ccdabee9122,dd7fdb68f434be6d,013f08dccd789c33,fbf4388c37565c90,f406ed639436ca30?thread_id=ffee35abd2c61850&mode=thread&noheader=1#doc_f406ed639436ca30

HTH.

Regards,
Larry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk