Opened 15 years ago

Closed 12 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:

Description

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 15 years ago.

Download all attachments as: .zip

Change History (2)

by Steven Watanabe, 15 years ago

Attachment: recursive_variant.hpp.patch added

comment:1 by Steven Watanabe, 12 years ago

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.