In order to bring the foreach comfort from C# to C++ I found the following way to do so:
- Using boost library (a must have library for C++ developers)
- Go to make BOOST_FOREACH prettier
- Add usertype.dat into same directory where devenv.exe resists
- Add the words foreach and reverse_foreach to usertype.dat
- Restart Visual Studio
(since no “Code Snippet”-plug-in works I added a screen-shot)
Keine Kommentare:
Kommentar veröffentlichen