alias declaration or typedef
I have a C++ question when reading the code. I found in corsika (e.g. corsika/framework/stack/SecondaryView.hpp
), there exist both typedef
and using
. I read the Effective Modern C++ book and the author suggest to use alias declaration instead of typedef to avoid dependent type name.
Should we move to alias declaration in corsika8? If not, could you show me the reason behind?