J
John
I have a class
class x{
public:
template<typename X>
friend X func(X a){
....
}
// I would also want to write the following
template< >
friend double func<double>(double a){
....
}
}
Can someone help on what i am doing wrong?
Thanks,
--j
class x{
public:
template<typename X>
friend X func(X a){
....
}
// I would also want to write the following
template< >
friend double func<double>(double a){
....
}
}
Can someone help on what i am doing wrong?
Thanks,
--j