Opened 11 years ago

Closed 9 years ago

#1654 closed Bugs (fixed)

recursive variants do not handle nested variants correctly.

Reported by: Steven Watanabe Owned by: ebf
Milestone: Boost 1.36.0 Component: variant
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:


The specialization of substitute<> in recursive_variant.hpp for variants incorrectly passes a raw MPL sequence to variant without wrapping it in over_sequence<>

Attachments (1)

recursive_variant.hpp.patch (1.1 KB) - added by Steven Watanabe 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Steven Watanabe

Attachment: recursive_variant.hpp.patch added

comment:1 Changed 9 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

(In [62753]) Make sure that recursive_variant_ substitution works in all cases. Fixes #1654

Note: See TracTickets for help on using tickets.