Addressing the limitation of the class's private class
(and private type private member example)
Hey, thank you for the example. It's great that we could have a work around for this limitation. I'd like to keep C++11 compatibility, but we could detect if the given compiler has the "auto return type C++14" feature and if yes then we could define the proper macros for access_private_class. Do you think you could create a PR that addresses this?
I created a C++20 fork from this repo. There it can made without macro. If someone has time to work with it, backport here.
Okay, thank you. I am extending the readme to advertise your fork for C++20.
Umm, not closing, since at some point we could backport to C++14.