Strange declaration(templates). C++
- by atch
Hi,
guys could anyone explain to my like to a not very inteligent child what is declared here:
(this is taken from another post on this forum)
template<typename C> static char (&f(ChT<int Fallback::*, &C::x>*))[1];
how I read it is:
template of static function f called with (ChT*) but then I can't make sense why is there address of operator and why is there array?
When explaining please picture not very inteligent child and then try to make it clear to it.
Thanks for any help