// Implements for float Alpha param. You could also add overrides or make it a template param. static inline MyClass Lerp(const MyClass& A, const MyClass& B, const float& Alpha) { return MyClass::Lerp(A, B, Alpha); // Or do the computation here directly. } };