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: unassignedclangb...@nondot.org
          Reporter: hugh.a.ga...@gmail.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to