4 ms·
boost::variant is 12 years old, the std::variant version is not based on the actual design nor is it a copy of the boost implementation. The interface is very
by meetingcpp 10y ago
boost::variant is 12 years old, the std::variant version is not based on the actual design nor is it a copy of the boost implementation.
The interface is very similar, but the implementation is ofc using C++17 and not C++03.
- rleigh 10y agoThe boost implementation is certainly showing its age at this point, as is mpl, now we have variadic templates. Are there any C++14 variant implementations compatible with boost::variant and std::variant which are based on variadic templates? I'd love to move to a more modern implementation if possible.