Skip to content

concepts not supported #11552

Closed
Closed

Description

@crillion

Hi,
I'm trying to #include , but emscriptens says header not found.
When do you think it will become available ? (clang / LLVM already supports it).
Thanks,
Marco

Activity

  1. sbc100 commented on Jul 6, 2020

    @sbc100
    Collaborator

    We include libcxx as part of emscripten, but we only update it for llvm releases. According to system/lib/libcxx/readme.txt we currently include libcxx from llvm 10.x, and it looks like concepts was not included in that release.

    So the the first release with concepts will likely be llvm 11. Once that is released we can update our version.

    If you really want to out before then you could try copying the header(s) from llvm's libcxx/include/ into emscripten's system/lib/libcxx/include.

  2. feverzsj commented on Aug 21, 2020

    @feverzsj

    llvm has only experimental support for c++20 concepts. And it's quite broken, even in trunk. Lots of ICEs. No short circuit. The header only contains std::same_as;

    So even emscripten uses latest llvm, there won't be much difference.

  3. sbc100 commented on Aug 21, 2020

    @sbc100
    Collaborator

    Right, this isn't really something we can or should fix in downstream emscripten I guess.

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