C++17 std::visit perfomance vs dynamic inheritance
Using std::visit in parallel with std::variant, does it give a better performance in comparison with dynamic inheritance using virtual?
Based on cppreference there is the following statement
Using std::visit in parallel with std::variant, does it give a better performance in comparison with dynamic inheritance using virtual?
Based on cppreference there is the following statement