Delegations without virtual function calls via templates in compile time in C++11