Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be nice to write a DSL to generate some of the C++ boilerplate (say, containers, iterators, etc) required as a baseline before starting to solve the actual problem.

A DSL could codify rules like the ones described in this article and generate at least a rough first pass to be hand-tuned later.



Boost STL Interfaces provides this functionality as a library. Not just for iterators but both views and containers of sequences too.

https://www.boost.org/doc/libs/1_75_0/doc/html/stl_interface...


Wow, no, really? wouldn't hat would spoil the "fun" of all the endless arcana?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: