[llvm-bugs] [Bug 31680] New: emplace() should keep returning void before C++17

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 18 11:20:39 PST 2017


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

            Bug ID: 31680
           Summary: emplace() should keep returning void before C++17
           Product: libc++
           Version: 4.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zonrxchg at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

r276230 (https://reviews.llvm.org/rL276230) implements P0084r2 which changes
the return type of emplace() from "void" to reference of newly created element.
But this should only apply to C++17 and later.

-- 
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/20170118/08924027/attachment.html>


More information about the llvm-bugs mailing list