Let class B be the base of A:
class B
{
public:
std::tuple<int, bool, float> properties.
}
class A : public B
{
public:
std::tuple<float, std::string, std::string> derivedProperties.
}
Is there some way to add the derived properties tuple to the base propeties tuple? For example through some form of CRTP? I know that the properties of the base class and the derived types are known at compile time, but I can't seem to figure out how to combine the properties of the different inheritance levels.