
22 Nov
2009
22 Nov
'09
4:08 p.m.
Emil Dotchevski escribió:
2009/11/21 Agustín K-ballo Bergé <kaballo86@hotmail.com>:
· Operators don't work unless boost::la namespace is bring into scope, couldn't ADL kick in?
No, ADL can not kick in because the overloads are in namespace boost::la and the user-defined types they are typically called with are in other namespaces. You can safely bring boost::la into scope globally, the overloads this will introduce will not clash with anything.
I should have been more specific, I was expecting the operators to just work for la::vref and la::mref. And probably for any other view too. Agustín K-ballo Bergé.-