How to template a type and rename it

What I want can be illustrated in the following code :) It is of course not correct, but you should know what I mean.

If template a data type and rename it, then it would be great!

  using SomeMap = template<class Value> std::map<std::string, Value>> ;
Did you mean to create a alias template?

template<class Value> using SomeMap = std::map<std::string, Value>>;
Last edited on
Thank you!
Topic archived. No new replies allowed.