For example:
public void function(T, A...)(auto ref A values) { // static assert(IsBaseOf(L, T)); }Check if T inherit class "L". Same result that std::is_base_of<L, T>::value using C++. Any clean way to do it, without a dirty hack.
For example:
public void function(T, A...)(auto ref A values) { // static assert(IsBaseOf(L, T)); }Check if T inherit class "L". Same result that std::is_base_of<L, T>::value using C++. Any clean way to do it, without a dirty hack.