[webkit-dev] Switch to std::variant?

zan at falconsigh.net zan at falconsigh.net
Wed May 23 04:14:11 PDT 2018


Hi,

with C++17 adoption progressing, are there existing plans to switch over from WTF::Variant to stdlib-provided std::variant implementations?

Some GCC-and-libstdc++ configurations would still require a fallback implementation, just like with std::optional. Bug #175583 started work on importing a C++17-compliant implementation, but currently seems stalled.
https://bugs.webkit.org/show_bug.cgi?id=175583

Are there any other reservations or obstacles about adopting std::variant?

Cheers,
Zan


More information about the webkit-dev mailing list