[Parameter] instance() causing lots of failures
Lines like this: keyword<name_>& name = instance(); are causing failures on lots of compilers. It looks like the workaround is simple, but we need to apply it to the platforms that are still failing... Doug
On Jul 14, 2005, at 8:30 AM, Douglas Gregor wrote:
Lines like this:
keyword<name_>& name = instance();
are causing failures on lots of compilers. It looks like the workaround is simple, but we need to apply it to the platforms that are still failing...
... I've worked around the issue on Apple's GCC 3.3. Doug
Doug Gregor <dgregor@cs.indiana.edu> writes:
On Jul 14, 2005, at 8:30 AM, Douglas Gregor wrote:
Lines like this:
keyword<name_>& name = instance();
are causing failures on lots of compilers. It looks like the workaround is simple, but we need to apply it to the platforms that are still failing...
... I've worked around the issue on Apple's GCC 3.3.
Thanks, but as I said, I'm working on it. Please don't try to add any more workarounds for the time being; it just makes merging harder. -- Dave Abrahams Boost Consulting www.boost-consulting.com
Douglas Gregor <doug.gregor@gmail.com> writes:
Lines like this:
keyword<name_>& name = instance();
are causing failures on lots of compilers. It looks like the workaround is simple, but we need to apply it to the platforms that are still failing...
Yeah, I'm sorry about the churn on this particular thing, and am trying to resolve it. It is, strictly speaking, part of a bug fix. I just needed to find a reasonably portable usage for people to declare keywords. There are enough (even recent) compilers on which the preferred syntax doesn't work that I'm going to introduce a macro. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
David Abrahams -
Doug Gregor -
Douglas Gregor