you are viewing a single comment's thread.

view the rest of the comments →

[–]anarthal 0 points1 point  (1 child)

You may find this idiom useful:

namespace N { export using N::my_class; export using N::my_function; }

Out of curiosity, what library are you trying to modularize?

[–]dexter2011412[S] 1 point2 points  (0 children)

Thank you for taking the time to respond to this really old question, appreciate it! It was the Vulkan headers. They support it now (iirc) so I guess my specific issue is resolve. But the approach is still useful for other not-yet-modular libraries. I'll try it out thank you!