Macro with different behaviours, is it a good idea?


I develop a little crate to find the number of elements of a tuple: tuple_len.

Currently, the macro makes this task at the compilation time.

Is it a good idea if this macro also support an ident to calculate this at runtime:

In particular in the absence of the const_trait_impl feature.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.