mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 23:19:27 +00:00
145e246a5e
This changes Variant::visit() to forward the value returned by the selected visitor invocation. By perfectly forwarding the returned value, this allows for the visitor to return by value or reference. Note that all provided visitors must return the same type - the compiler will otherwise fail with the message: "inconsistent deduction for auto return type". |
||
---|---|---|
.. | ||
AK | ||
Kernel | ||
LibC | ||
LibCompress | ||
LibCore | ||
LibELF | ||
LibGfx | ||
LibJS | ||
LibM | ||
LibPthread | ||
LibRegex | ||
LibSQL | ||
LibWeb | ||
UserspaceEmulator | ||
CMakeLists.txt |