Skip to content

Is there a reason boost::parser::none::fail() is a runtime error, not a compile time error? #273

Description

@andreasbuhr

Hi,

when I mess up my parsers, sometimes I run into none::fail. This is a runtime error. Why not a compile time error with static_assert(false) or static_assert(!std::is_same_v<T,T>) to force late evaluation?

Is there a reason I am missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions