3

I happened to come across this syntax from Kris Jusiak:

template<class... Ts> struct overload : Ts... { using Ts::operator()...; };
template<class... Ts> overload(Ts...) -> overload<Ts...>;

At first I thought it was trailing return-type syntax, but I expected to see 'auto' before 'overload'. Could someone kindly direct me to the cppreference page which I am guilty for not knowing?

Thanks much! Sincerely, George

0 Answers0