Varadic and template template parameters and partial specification for tree node class

If your concern is about the “recursion” with struct S : C<S /*, ..*/>, it is fine.

it is the idiom Curiously_recurring_template_pattern (CRTP).

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top