I came accross the following construct while reading this article:
template<typename F, typename...As>
using meta_apply = typename F::template apply<As...>;
Can someone explain to me what does the template
keyword mean when it's placed after the scope resolution operator ::
? Or better point me to where this usage is described in C++ reference of any kind. I tried looking it up myself but couldn't find any.
EDIT
Consider also this code from the same article:
meta_compose<F0, meta_compose<F1, F2>::template apply>::template apply
Here, the last apply
token is not followed either <
or >
thus its usage is not explained in either of the two alternative questions suggested.