#12986 closed Patches (fixed)

Boost.Fusion: VS2017 is able to compile variadic template implementation of vector

Reported by: peter.klotz@… Owned by: Kohei Takahashi
Milestone: Boost 1.65.0 Component: fusion
Version: Boost 1.64.0 Severity: Problem
Keywords: Cc:

Description

VS2017 (cl 19.10) compiles the variadic template implementation of boost::fusion::vector without problems.

So maybe it is time to limit the workaround to older compilers (see attached patch).

This would ease developing platform independent code for Linux and Windows since gcc (at least starting with 4.8) already uses variadic templates by default. So currently one is forced to use BOOST_FUSION_DISABLE_VARIADIC_VECTOR (and use the old syntax) to make the code portable between both platforms.

Attachments (1)

boost_1_64_0-FusionEnableVariadicVector.patch (663 bytes) - added by peter.klotz@… 19 months ago.
Patch to enable variadic template implementation for boost::fusion::vector when using cl 19.10 or higher

Download all attachments as: .zip

Change History (3)

Changed 19 months ago by peter.klotz@…

Patch to enable variadic template implementation for boost::fusion::vector when using cl 19.10 or higher

comment:1 Changed 19 months ago by Kohei Takahashi

Milestone: To Be DeterminedBoost 1.65.0
Owner: changed from Joel de Guzman to Kohei Takahashi

Good news! I'll check that.

comment:2 Changed 19 months ago by Kohei Takahashi

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.