I currently have a constructor for a class that is :
template<class TX, class TY> MyClass(const TX &x, const TY &y)
and allow me to construct my class based on 2 values.
I would like to be able to construct my class with random generators/engines from C++ 2011.
template<class TG, class TE> MyClass(TG &generator, TE &engine)
How to modify this last constructor because, in that form, it is the same thing as the first one for the compiler. I think I can use SFINAE but I don't know how.
Thank you very much !