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

Johel Ernesto Guerrero Peña <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Johel Ernesto Guerrero Peña <[email protected]> ---
You're right about `std::any` being fine. Turns out my first example was first
throwing on the temporary used to construct the `std::any` object:
https://godbolt.org/z/39bhvW4Yf.

However, the runtime requirement on not throwing has no effect on whether it
statically satisfies `std::destructible`.

Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to