mirror of git://gcc.gnu.org/git/gcc.git
PR libstdc++/84769 qualify call to std::get<0>
PR libstdc++/84769 * include/std/variant (visit): Qualify std::get call. From-SVN: r259902
This commit is contained in:
parent
2e023647c8
commit
1ee021f2f3
|
|
@ -1,5 +1,8 @@
|
||||||
2018-05-03 Jonathan Wakely <jwakely@redhat.com>
|
2018-05-03 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
PR libstdc++/84769
|
||||||
|
* include/std/variant (visit): Qualify std::get call.
|
||||||
|
|
||||||
PR libstdc++/85632 use uintmax_t for arithmetic
|
PR libstdc++/85632 use uintmax_t for arithmetic
|
||||||
* src/filesystem/ops.cc (experimental::filesystem::space): Perform
|
* src/filesystem/ops.cc (experimental::filesystem::space): Perform
|
||||||
arithmetic in result type.
|
arithmetic in result type.
|
||||||
|
|
|
||||||
|
|
@ -1389,7 +1389,7 @@ namespace __variant
|
||||||
|
|
||||||
using _Result_type =
|
using _Result_type =
|
||||||
decltype(std::forward<_Visitor>(__visitor)(
|
decltype(std::forward<_Visitor>(__visitor)(
|
||||||
get<0>(std::forward<_Variants>(__variants))...));
|
std::get<0>(std::forward<_Variants>(__variants))...));
|
||||||
|
|
||||||
constexpr auto& __vtable = __detail::__variant::__gen_vtable<
|
constexpr auto& __vtable = __detail::__variant::__gen_vtable<
|
||||||
_Result_type, _Visitor&&, _Variants&&...>::_S_vtable;
|
_Result_type, _Visitor&&, _Variants&&...>::_S_vtable;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue