3 ms·
for (auto f : mesh.faces(v)) vertices.push_back(fvertex[f]); What is so bizzaro about this? For loops and `auto` are both pretty standard features for a pr
by rom-antics 4y ago
for (auto f : mesh.faces(v))
vertices.push_back(fvertex[f]);
What is so bizzaro about this? For loops and `auto` are both pretty standard features for a programming language.
- kccqzy 4y agoGP is saying many wish that people won't use template meta-programming. You quoted a bog standard piece of code that doesn't use template meta-programming.
- rom-antics 4y agoYeah, that is bog standard code. All the code in the post is. I'm just trying to figure out why we're complaining about template meta-programming, because I didn't see any in TFA and I sure didn't see any code that deserved being called bizzaro.
- zabzonk 4y agoi didn't call it bizzaro, creativenolo was observing about it not using C++ special sauce, which i took to mean strange template stuff
- zabzonk 4y agomodern c++, as i said in the post you are replying to though maybe emplace_back?