Make some std::variant helper functions noexcept
authorJonathan Wakely <jwakely@redhat.com>
Tue, 23 Apr 2019 09:55:28 +0000 (10:55 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 23 Apr 2019 09:55:28 +0000 (10:55 +0100)
commitbe46043e07689050ba4522e907db618d26fc1bb8
tree2687b11793b28f4651c103d28b723b9b26bb2bb2
parent4b5689aa6c285429368b8bc9eef2b186162ff78d
Make some std::variant helper functions noexcept

* include/std/variant (__detail::__variant::__ref_cast): Remove
unused function.
(__detail::__variant::_Uninitialized::_M_get)
(__detail::__variant::__get)
(__gen_vtable_impl::__element_by_index_or_cookie): Add noexcept.

From-SVN: r270501
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant