site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Basically, you say namespace { // whatever you want }; and the compiler will generate a unique namespace name for you. _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... Not sure, it might, but then we'd have to use macros again just like unique function names, since it is a single template function in a header file shared by various plugins projects. I think Paul Miller means anonymous namespaces. These are the preferred C++ idiom for "static" classes or functions (something I always forget about). This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Schneider