[llvm-bugs] [Bug 50521] New: counting_semaphore constructor is neither explicit or constexpr

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 28 11:50:25 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50521

            Bug ID: 50521
           Summary: counting_semaphore constructor is neither explicit or
                    constexpr
           Product: libc++
           Version: 11.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hugh.a.gallo at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

According to the comments at the top of the semaphore file as well as the
current draft c++23 standard as provided by eel.is and a draft c++20 standard
as provided on the open-std website, counting_semaphore's constructor to be
standards compliant must be both explicit and constexpr to be conformant,
currently in the github repository itself this is not the case and has never
been the case since the original patch was submitted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210528/fb9acfe8/attachment.html>


More information about the llvm-bugs mailing list