Is there a way to get number of elements inside a tuple? This is known at 
compile time, of course; as tuples are fixed structures.

At first glance, this probably sounds like an odd request, but i'm writing 
macro for an inheritable framework with objects referencing other inheritable 
objects. And it would be of convenience to the user of the framework if this 
were resolved without the need for human counting. One less mistake to make and 
debug.

Not a deal breaker, of course. Just fewer "oops I forgot to change that" 
mistakes.

Reply via email to