All,
 
I have a question with regards more to the C++ than Boost.
I would like to write a template which depending on the argument type does different things.
 
For example the pseudo code:
 
template <class T, class C>
foo(T& nT, C& nC)
{
    // common code;
    if(T==C)
    // specific code;
    .....
 
    // again common code;
}
 
Can the template meta programming help me in this case? Sorry, I have no experice with this and I am just guessing.
 
Do you have any suggestions?
 
Thanks for help,
 
Pshemek

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/