| 530 | using BaseType = typename std::conditional<!std::is_same<TBase, void>::value, TBase, T>::type; |
| 531 | |
| 532 | virtual void * toParent(void * obj) const |
| 533 | { |
| 534 | auto typedObj = reinterpret_cast<T *>(obj); |
| 535 | return static_cast<TBase *>(obj); |
| 536 | } |
| 537 | }; |
| 538 | |
| 539 | template <class TValue, class T, class TBase> |
nothing calls this directly
no outgoing calls
no test coverage detected