stxxl / foxxll

FOundation of stXXl and thriLL
Boost Software License 1.0
14 stars 8 forks source link

Uncrustify and Lambdas #7

Open manpen opened 6 years ago

manpen commented 6 years ago

The indention configured in uncrustify makes usage of lambdas (especially as function parameters) impractical.

auto local_queue_at_max_size = [&]() {
                                   return foo;
                               };

Where the following solution would be much better

auto local_queue_at_max_size = [&]() {
    return foo;
};
lorenzhs commented 6 years ago

Yes this behaviour is extremely aggravating. @bingmann plz fix in Thrill, too.

bingmann commented 6 years ago

Plz fix in uncrustify.