
29 Dec
2012
29 Dec
'12
8:51 a.m.
No, you're not specializing a function template. You're adding an overload. My standardese is rusty, but I don't think that's allowed in namespace std.
That's my understanding too: overloading std namespace functions is forbidden by the std. And while possibly convenient, why would one expect "get" to be in namespace std when array is in namespace boost? IMO the correct solution (at least as far as the std is concerned) is to call "get" unqualified and let ADL do it's magic. Just my 2c, John.