Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-24 10:37:55

Johan Nilsson wrote:
> Markus Schöpflin wrote:


>> ---%<---
>> template <class T> struct foo {
>> T *p;
>> void bar() { foobar(p); }
>> };
>> void foobar(int *p) {}
>> void argl() {
>> foo<int> f;
>> }
>> --->%---
> I don't think lookup works with built-in types. Try the above with e.g.
> "struct bar{};" instead of "int".

You are right.

Sigh, obviously I don't manage to create a small reproducer for the error
seen at (Scroll down to the last five
errors, ignore the rest, this has been fixed by now.) But yet I have
learned by now that usually this compiler knows the standard better than
me. Could anyone confirm or deny that this is indeed an error?


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