I've got the following situation:
This is a wrapper type
template <typename wrapperInnerType>
struct wrapperT{ ... };
using wrapper = wrapperT<float>;
And it's used in this class
template <typename wrapperType>
class InData{
wrapperInnerType var; //<-- How to get inner type?
};
My question is what is the easiest way to get wrapperInnerType from wrapperType?
Ideally I would like it to be still possible to use InData<wrapper> myData;
when using that class (instead of having multiple types in declaration like in InData<wrapper, float> myData;
as an example).