boostorg / boostorg/mp11

For old gcc versions BOOST_MP11_HAS_TEMPLATE_AUTO isn't set

Open
#90 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
291
Forks
97
PR merge metrics
No merged PRs in 30d

Description

Old versions of gcc (7.1-8.2) don't define `__cpp_nontype_template_parameter_auto` but only `__cpp_template_auto`. Because of that `BOOST_MP11_HAS_TEMPLATE_AUTO` doesn't get set even though those versions support it. spirit checks both (https://github.com/boostorg/spirit/blob/59515f0e56aebdf958eadab30be99cac8872e723/include/boost/spirit/home/x3.hpp#L19). Would this make sense for mp11 too?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.