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: | 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)
Change History (3)
by , 5 years ago
Attachment: | boost_1_64_0-FusionEnableVariadicVector.patch added |
---|
comment:1 by , 5 years ago
Milestone: | To Be Determined → Boost 1.65.0 |
---|---|
Owner: | changed from | to
Good news! I'll check that.
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in https://github.com/boostorg/fusion/pull/146
Thanks!
Patch to enable variadic template implementation for boost::fusion::vector when using cl 19.10 or higher