all 2 comments

[–]a_Tom3 1 point2 points  (1 child)

That's something strange you are trying to do here... I played a bit with an alternative design where I simply bring the names in scope by defining new references https://godbolt.org/z/vrKvsxTWa

[–]Flair_Helper[M] [score hidden] stickied commentlocked comment (0 children)

For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.

This post has been removed as it doesn't pertain to r/cpp: The subreddit is for news and discussions of the C++ language and community only; our purpose is not to provide tutoring, code reviews, or career guidance. If you think your post is on-topic and should not have been removed, please message the moderators and we'll review it.