
4 Jul
2011
4 Jul
'11
10:21 p.m.
On 07/04/2011 08:54 PM, Robert Ramey wrote:
In fact, if you've used "using" judiciously in your code even that would be trivial.
That doesn't work to inject overloads and specializations. namespace A { template<class T> struct foo; } namespace B { using A::foo; template<> struct foo<int> {}; } does not work. The implementation detail in question is a generalized concept-based overloading system, and it requires all overloads and specializations to be in the same namespace. I guess I'll just put it in boost::simd::detail and hide its uage behind a macro.