Manu343726
No user record in our sample, but Manu343726 has activity below (stories or comments). Likely we have partial data — the full bulk-load will fill profiles in.
No user record in our sample, but Manu343726 has activity below (stories or comments). Likely we have partial data — the full bulk-load will fill profiles in.
I think the point here is that depending on Boost (Or similar libraries) should not be a problem. Consider python's pip. Bootstrapping a python codebase is simple, just run pip install -r requirements_file.txt. The…
The key here is to be objective, not falling on a flame thread. C++ templates are ugly, I'm agree, but they are useful and heavily used. Lets make them simple to use with some abstractions.
Haha, that reminds me to a guy who implemented a PROLOG-like language with templates: https://github.com/abudnik/tcalc
"Programming in XML notation is starting to look good, suddenly" I hate the typename ::type pattern. tml::eval helps a lot, but still involves a lot of nested template "calls". To deal with this, I'm working on a…
Exactly. if is a C++ keyword. I selected tml::conditional following the Standard std::conditional. The boost::mpl library uses mpl::if_, for example.
As I said in the post, common day to day C++ has (usually) nothing to do with metaprogramming. But huge generic libraries, like most of the STL implementations, rely heavily on template metaprogramming. Those libraries…
+1 to alexandrescu's "Modern C++" showing the expressive power of C++. Also, imho, one o the key points of the book is how Alexandrescu criticises the OO patterns of the so horrible Gang Of Four. Anybody who have readed…
I'm agree with you and aware about the fact that the Fibonacci metafunction is not a good example of real metaprogramming (Computing Fibonacci series using tmp has no much sense). I only picked that example because its…
There could be a bug on the code snippets included inside the post, sorry. Check the code running at compiler explorer, it's working and you can see clearly the result string literal at the end of the assembly. The…
The term "Modern C++" refers to the fact that most of the C++ industry still depends on or develops C++98/03 code. Is "Modern" compared to that, and the term is used to refer to state of the art C++ instead of old C++98.