24 Mar
2005
24 Mar
'05
10:38 p.m.
This isn't a boost problem so it really belongs elsewhere.
Davi de Castro Reis
I am trying to specialize some (non-trivial) function templates, but I am getting a lot of unexpected compile errors.
//"template function" partial specialization template
void f(int a, U b) {}
Unfortunately there's no function template partial specialization in C++. You can try to write an overload and let partial ordering choose it: template<class U> void f(int a, U b) {} HTH, -- Dave Abrahams Boost Consulting www.boost-consulting.com