Boost logo

Boost :

Subject: Re: [boost] [scope_exit] (Boost >= 1.65) VS 2015 internal compiler error in lambda
From: Tobias Loew (Tobias.Loew_at_[hidden])
Date: 2018-01-12 09:38:09


And again, here's the code:

int main() {
    auto check_property = []() {
        int test = 0;
        BOOST_SCOPE_EXIT(test) {
            test = 42;
        }BOOST_SCOPE_EXIT_END
    };

    return 0;
}

--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Dev-f2600599.html

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk