Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2005-12-08 01:50:12


Noel Belcourt wrote:
>
>>Eric Niebler wrote:
>>
>>>Does cw-9_4 really support partial specialization of class templates?
>>>According to boost.config it does. xpressive's tests are failing on
>>>this compiler, with heaps of errors like:
>>>
>>>### mwcc Compiler:
>>># In:
>>>..\boost\xpressive\detail\static\productions\independent_compiler.hpp
>>># From: ..\libs\xpressive\test\misc1.cpp
>>># -----------------------------------------
>>># 128: : transform_compiler<arg_transform,
>>>xpressive::detail::seq_tag>
>>># Error: ^
>>># illegal partial specialization
>>>
>
>
> 1) add the missing default template argument to the compiler
> specialization
>
> template<bool PositiveT>
> struct compiler<xpressive::detail::lookahead_tag<PositiveT>,
> xpressive::detail::seq_tag, void>
> : branch_compiler<xpressive::detail::lookahead_branch<PositiveT>,
> xpressive::detail::ind_tag>
> {
> };

Ah, interesting. Thanks for the suggestion -- I've committed the fix.
Let's see what the next round of regression tests reveal.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk