I already found the answer to this question - it's not possible to do

what I wanted. (I wanted to do like template<class C>void

yyy<c,int>(){} - no partial specializations allowed for functions)

From here I have another question (which is a workaround to my original

problem)

suppose i have:

template<class X, class Y>class xxx{

template<bool> void yyy();

};

how is then I need to write implementations for the two versions of

yyy: yyy<true> and yyy<false>??

something like

template<class X,classY>

template<bool> xxx<X,Y>::yyy(){

/* false version */

}

template<class X,classY>

template<> xxx<X,Y>::yyy<true>(){

/* true version */

}

and it doesn't compile at yyy<true>

how do I do it correctly??

thanks