Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X3: Fixed static assert on parse_rule instantiation #455

Merged
merged 1 commit into from
Feb 8, 2019

Commits on Feb 7, 2019

  1. X3: Fixed static assert on parse_rule instantiation

    During overload resolution disallowed signature can be instantiated leading
    to firing the static assertation and overload resolution failure. I could
    just remove it, but do not want to leave unbounded by value overloads;
    replacing to not deducing Attribute with specifying a default parameter will
    not work because we want to allow `BOOST_SPIRIT_DECLARE` without prior
    `BOOST_SPIRIT_DEFINE` - this requires having default parameters in both
    declaration and definition and the standard seems to forbid it (GCC - fine,
    MSVC - warning, Clang - error).
    
    Reverts boostorg#437, fixes boostorg#453.
    Kojoley committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    735b4ec View commit details
    Browse the repository at this point in the history