When I want to enter a lambda, I type this all out by hand:
std::for_each(container.begin(), container.end(), [](){});
Then, I press enter between the braces and get this (the carat is where the cursor is):
std::for_each(container.begin(), container.end(), [](){
^
});
What I want is this:
std::for_each(container.begin(), container.end(), [](){
^
});
Is there any way to autoformat the closing brace on the same column as the std::for_each?