vim-jp/vim-cpp

Broken syntax when nested lambda.

mattn opened this issue · 1 comments

#include <iostream>
#include <string>
#include <algorithm>

int
main(int argc, char* argv[]) {
  std::for_each(x.begin(), x.end(), [&](decltype(x)::value_type x) {
    std::for_each(x.begin(), x.end(), [&](decltype(x)::value_type x) {

    });
  });
  return 0;
}

Anyone, review please!