
Tobias Schwinger <tschwinger@neoscientists.org> writes:
David Abrahams wrote:
Tobias Schwinger <tschwinger@neoscientists.org> writes:
Still, your "#ifdef suggestion" seems much worse to me -- it might have been just provocative rhetoric rather than a serious proposal, I guess...
No, it was serious. But if you don't like #ifdefs there are two other proposals on the table that address the problem without using them.
I have nothing against #ifdefs in general and it has nothing to do with personal taste:
#ifdeffing (what a wonderful neologism) an interface means: client code that wants to work regardless of whether the macro is defined or not requires #ifdefs as well.
Client code that wants to work whether exceptions are turned on or not also requires #ifdefs, no matter what you do with the interface to this particular library. -- Dave Abrahams Boost Consulting www.boost-consulting.com