4 ms·
no, but they are modern c++ constructs. the title of the post did not imply that the article was about some bizzaro means of constructing the solids using templ
by zabzonk 4y ago
no, but they are modern c++ constructs. the title of the post did not imply that the article was about some bizzaro means of constructing the solids using template meta-programming, or such. many c++ programmers wish that people would not do such things - not everything needs to be calculated at compile-time.
- rom-antics 4y agofor (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?