Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[pushmi.h] error: parentheses are required around this expression in a requires clause #64

Description

@denchat

I tried compiling PushmiTest.cpp with pushmi.h on compiler explorer.

gcc trunk and clang complained pushmi.h about

pushmi.h:496:15: error: parentheses are required around this expression in a requires clause

  (requires B == static_cast<bool>(This{})) constexpr

            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~

            (                              )

While gcc 9.3 compiled pushmi.h just fine with -fconcepts

[LIVE]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions