c++ Programming Glossary: foo_alt
Using a template alias instead of a template within a template http://stackoverflow.com/questions/17392621/using-a-template-alias-instead-of-a-template-within-a-template T struct foo Added alias for foo template typename T using foo_alt foo T template typename FooType struct bar Changed want to use.. T template typename FooType struct bar Changed want to use foo_alt instead of foo here static_assert is_instantiation_of foo_alt.. instead of foo here static_assert is_instantiation_of foo_alt FooType value fail int main int char both of these fail bar..
|