Alex Rivera | Logout

Is there a C++11 syntax file for vim?

Asked 2010-06-04T19:29:55.860
64

In particular, the display of initialization lists is really bad:

vector<int> v({1,2,3});

will highlight the curly braces in red (denoting an error).

Edit
Report

1 Answer

9

use uniform initialization instead of the old () constructor

vector v {1,2,3};

answered 2011-05-01T19:33:38.217

Your Answer