• Harris Hancock's avatar
    MSVC non-const copy capture workaround · f87b3068
    Harris Hancock authored
    MSVC refuses the following code:
    
    struct Foo { Foo(Foo&) {} };
    Foo foo;
    [foo] {}();
    
    because it only seems to want to consider const copy constructors when
    capturing objects by value in lambda capture lists.
    f87b3068
Name
Last commit
Last update
c++ Loading commit data...
doc Loading commit data...
highlighting Loading commit data...
security-advisories Loading commit data...
.gitignore Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
RELEASE-PROCESS.md Loading commit data...
mega-test-quick.cfg Loading commit data...
mega-test.cfg Loading commit data...
mega-test.py Loading commit data...
release.sh Loading commit data...
style-guide.md Loading commit data...
super-test.sh Loading commit data...