Opened 5 years ago

Closed 5 years ago

#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@… 5 years 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)

by peter.klotz@…, 5 years ago

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

comment:1 by Kohei Takahashi, 5 years ago

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

Good news! I'll check that.

comment:2 by Kohei Takahashi, 5 years ago

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