Macro_rules! defining macro_rules!

Based on it seems it is possible for macro_rules! to define new macros within itself.

Are there any cool examples of what can be done with this technique ?

(No, I don't have a problem I need solved. I am just curious what is possible.)

1 Like

I'd suggest reading this thread where steffahn put foward a macro of that kind well using patterns.


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.