Boost logo

Boost :

From: John Torjo (john.groups_at_[hidden])
Date: 2008-02-06 22:42:18

Steven Watanabe wrote:
> John Torjo wrote:
>> "For the part of the lookup using associated namespaces (3.4.2), only
>> function declarations with external
>> linkage found in either the template definition context or *the template
>> instantiation context *are found."
>> That to me sounds like a bug in como.
> Note that this section is talking about associated namespaces, aka
> Argument Dependent Lookup. What
> the reference to the template instantiation context means, is that the
> compiler will find the declarations
> of functions *From namespaces associated with the argument types* as long
> as those declarations exist either
> a) At the point when the template is defined.
> b) At the point the template is instantiated.
> Although in practice (b) is a superset of (a), in theory these two
> sets of declarations are distinct because of export.
Yup, you're right - there is a solution, the 5th comment on :
I will implement it after the review.


-- -- C++ expert
... call me only if you want things done right

Boost list run by bdawes at, gregod at, cpdaniel at, john at