[boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Markus Schöpflin
Daniel Frey wrote: On Wed, 12 Feb 2003 18:37:51 +0100, Markus Schöpflin wrote: Attached is a small patch for function_base.hpp. On line 302, there is a T missing. Just a stupid question: Why is it missing? What is this patch supposed to fix? This was the original source: templatebool,

Re: [boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Daniel Frey
Markus Schöpflin wrote: Daniel Frey wrote: On Wed, 12 Feb 2003 18:37:51 +0100, Markus Schöpflin wrote: Attached is a small patch for function_base.hpp. On line 302, there is a T missing. Just a stupid question: Why is it missing? What is this patch supposed to fix? This was

[boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Markus Schöpflin
Daniel Frey wrote: Markus Schöpflin wrote: When posting the patch, I didn't even realize that the code was legal and that this is a problem with VACPP6. And the aCC workaround fixes the problem for VA, too. This was the original source: templatebool, typename struct enable_if;

Re: [boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Daniel Frey
Markus Schöpflin wrote: Daniel Frey wrote: Markus Schöpflin wrote: This was the original source: templatebool, typename struct enable_if; ---^ Visual Age doesn't like this, it needs a name here. ^^ Ah, that's the reason. But given my recent

Re: [boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Dave Gomboc
Ah, that's the reason. But given my recent discomfort about unmaintainable code, look at it again: # if BOOST_WORKAROUND(__HP_aCC, = 33900) templatebool cond, typename T struct enable_if; # else templatebool, typename T struct enable_if; # endif Does this really

Re: [boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Douglas Gregor
On Thursday 13 February 2003 04:38 am, Daniel Frey wrote: Ah, that's the reason. But given my recent discomfort about unmaintainable code, look at it again: # if BOOST_WORKAROUND(__HP_aCC, = 33900) templatebool cond, typename T struct enable_if; # else templatebool,

Re: [boost] Re: Patch for function/function_base.hpp

2003-02-13 Thread Daniel Frey
Dave Gomboc wrote: Ah, that's the reason. But given my recent discomfort about unmaintainable code, look at it again: # if BOOST_WORKAROUND(__HP_aCC, = 33900) templatebool cond, typename T struct enable_if; # else templatebool, typename T struct enable_if; #

[boost] Re: Patch for function/function_base.hpp

2003-02-12 Thread Daniel Frey
On Wed, 12 Feb 2003 18:37:51 +0100, Markus Schöpflin wrote: Attached is a small patch for function_base.hpp. On line 302, there is a T missing. Just a stupid question: Why is it missing? What is this patch supposed to fix? Regards, Daniel ___