A
a.tavs
Hello everyone,
I'd like to bother you asking two questions:
1) does the turing-completeness of c++ template metalanguage hinders
templated code optimization? If so, how?
2) is it possible to write a c++ compiler that removes ``duplicated
instantiations'' i.e. template instantiations with different template
parameters but identical low-level implementation such as,
presumeably,
Foo<int*> and Foo<void*>?
TIA,
Tavs
I'd like to bother you asking two questions:
1) does the turing-completeness of c++ template metalanguage hinders
templated code optimization? If so, how?
2) is it possible to write a c++ compiler that removes ``duplicated
instantiations'' i.e. template instantiations with different template
parameters but identical low-level implementation such as,
presumeably,
Foo<int*> and Foo<void*>?
TIA,
Tavs