On 2020/04/19 09:39:00, dak wrote: > https://codereview.appspot.com/551780043/diff/573720045/lily/include/callback.hh > File lily/include/callback.hh (right): > > https://codereview.appspot.com/551780043/diff/573720045/lily/include/callback.hh#newcode166 > lily/include/callback.hh:166: typedef typename remove_pointer<decltype(strip_mfp > (static_cast<T> (nullptr)))>::type type; > On 2020/04/19 09:22:44, hahnjo wrote: > > I'd consider 'using type = ' instead which is more C++ style > > I think you overestimate my C++ fu. Can you spell this out?
using type = typename remove_pointer<decltype(strip_mfp (static_cast<T> (nullptr)))>::type; to declare the type alias: https://en.cppreference.com/w/cpp/language/type_alias https://codereview.appspot.com/551780043/