Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-09 Thread John Madock
Well, I think you're right, but the question remains: what should we do about it? Should we just replace BOOST_DEDUCED_TYPENAME? That's what I would do. John? Aleksey If I remember correcty Dave introduced that macro anyway, so yes go ahead and change it- can you make sure that the

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-06 Thread Daniel Frey
Aleksey Gurtovoy wrote: David Abrahams wrote: Aleksey Gurtovoy [EMAIL PROTECTED] writes: If BOOST_DEDUCED_TYPENAME was introduced for the sake of MSVC only (which seems very likely to be the case) It was. [...] Well, I think you're right, but the question remains: what should

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-06 Thread David Abrahams
Daniel Frey [EMAIL PROTECTED] writes: I greped for it and it seems it is not used very often. How about using BOOST_WORKAROUND to keep the code local and thus not hide the actual workaround in a MACRO and spread to knowledge? Especially given it's only a workaround for a single compiler. Or

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-06 Thread Daniel Frey
David Abrahams wrote: Daniel Frey [EMAIL PROTECTED] writes: I greped for it and it seems it is not used very often. How about using BOOST_WORKAROUND to keep the code local and thus not hide the actual workaround in a MACRO and spread to knowledge? Especially given it's only a

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-06 Thread David Abrahams
Daniel Frey [EMAIL PROTECTED] writes: Agreed. I didn't know about the other MACROs. I just found the one (or two?) occasions where BOOST_DEDUCED_TYPENAME was used. Generally I think it's better to have things as local as possible, but if the above workaround is needed often, it might make

[boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-05 Thread David Abrahams
I was just getting ready to propose a new config macro called BOOST_ARG_DEPENDENT_TYPENAME based on this test: struct id { typedef int type; }; template class T struct foo; template class T void f(T) { typedef footypename T::type y; } int main() {

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-05 Thread Peter Dimov
David Abrahams wrote: I was just getting ready to propose a new config macro called BOOST_ARG_DEPENDENT_TYPENAME based on this test: struct id { typedef int type; }; template class T struct foo; template class T void f(T) { typedef footypename T::type y;

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-05 Thread Aleksey Gurtovoy
David Abrahams wrote: I was just getting ready to propose a new config macro called BOOST_ARG_DEPENDENT_TYPENAME based on this test: struct id { typedef int type; }; template class T struct foo; template class T void f(T) { typedef footypename T::type y;

Re: [boost] [config] BOOST_DEDUCED_TYPENAME

2003-03-05 Thread David Abrahams
Aleksey Gurtovoy [EMAIL PROTECTED] writes: If BOOST_DEDUCED_TYPENAME was introduced for the sake of MSVC only (which seems very likely to be the case) It was. , then it was given a wrong name, since there are lots of other situations, besides the deduced typename context, when the compiler