Currently the interface specifications depend upon virtual functions to guarantee that a specific interface exists in inheriting drivers. Unfortunately this dependency introduces overhead in the code due to unnecessary vtables. Investigate what must be done to get a compile time only interface spec that does not depend upon virtual functions.
Currently the interface specifications depend upon virtual functions to guarantee that a specific interface exists in inheriting drivers. Unfortunately this dependency introduces overhead in the code due to unnecessary vtables. Investigate what must be done to get a compile time only interface spec that does not depend upon virtual functions.
https://isocpp.org/blog/2013/02/concepts-lite-constraining-templates-with-predicates-andrew-sutton-bjarne-s
https://stackoverflow.com/questions/44317289/c-interface-without-virtual-functions