Declaring the copy ctor/assignment operator for a local class without defining them triggers MSVC warning C4822, so don't do this to avoid unnecessary noise in the build logs (we could disable the warning or conditionally do this for non-MSVC compilers, but it doesn't seem to be worth doing this for a class used inside a single function and very unlikely to be copied accidentally).
26 KiB
26 KiB