Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std::visit by reference #5311

Merged
merged 1 commit into from
Oct 1, 2021
Merged

Commits on Sep 30, 2021

  1. std::visit by reference

    I had started the trend of doing `std::visit` by value (because a type
    error once mislead me into thinking that was the only form that
    existed). While the optomizer in principle should be able to deal with
    extra coppying or extra indirection once the lambdas inlined, sticking
    with by reference is the conventional default. I hope this might even
    improve performance.
    Ericson2314 committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    242f9bf View commit details
    Browse the repository at this point in the history