[llvm-bugs] [Bug 38220] New: timespec should be in the std namespace

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 19 01:59:10 PDT 2018


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

            Bug ID: 38220
           Summary: timespec should be in the std namespace
           Product: libc++
           Version: 6.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alexej.h at xiphos.de
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

https://en.cppreference.com/w/cpp/chrono/c/timespec_get suggests that timespec
should be in the std namespace when included with <ctime>.

As far as I can tell, this is currently not the case in libc++.

Is this a conformance bug with C++17/C11 or is cppreference.com wrong?

-- 
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/20180719/45cf0238/attachment.html>


More information about the llvm-bugs mailing list