Opened 14 years ago

Closed 13 years ago

#2599 closed Bugs (fixed)

corner case in boost::fusion::all

Reported by: martin.voelkle@… Owned by: danmarsden
Milestone: Boost 1.38.0 Component: fusion
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

when using a sequence containing exactly 4 elements, boost::fusion::all returns always false, because unrolled_all lacks a specialization for 4 elements.

Attachments (1)

all.patch (646 bytes ) - added by martin.voelkle@… 14 years ago.
fix for the problem

Download all attachments as: .zip

Change History (4)

by martin.voelkle@…, 14 years ago

Attachment: all.patch added

fix for the problem

comment:1 by Joel de Guzman, 14 years ago

Owner: changed from Joel de Guzman to danmarsden

comment:2 by Steven Watanabe, 13 years ago

The correct fix is to make the specialization for 0 elements return true.

comment:3 by Steven Watanabe, 13 years ago

Resolution: fixed
Status: newclosed

(In [55686]) Make the unrolled implementation of all work for multiples of four. Fixes #2599.

Note: See TracTickets for help on using tickets.