Uh oh!
There was an error while loading. Please reload this page.
capture parameter pack as a tuple to work around gcc4.8 - #71
Conversation
jimhester
commented
Aug 4, 2020
Great, thanks! Do you think we should use this new implementation in all cases, or only when older gcc versions are used? |
bkietz
commented
Aug 4, 2020
There's no performance overhead (runtime or compile time) so I'd say: it's simpler to just leave it this way until gcc 4.8 can be dropped |
jimhester
commented
Aug 4, 2020
I think we may have to do the same thing with the parameter packs in But this does fix the errors with safe, so I think it is a good workaround. |
actually, those errors are all from stop(). I think we can just use |
Cool, can confirm these changes fix compilation on 4.8.5, thanks @bkietz for working through this! People will definitely be happy they can use cpp11 on older gcc versions. |
fixes#69
repro: https://wandbox.org/permlink/po7niLIoJ9HgJ74p
fixed: https://wandbox.org/permlink/RTg6mAArF13XyuRU
There are more sophisticated/general implementations of make_index_sequence/apply if desired