The requirement is to be able to handle two-parameter packs in the same time. Just to be sure we are on the same page, using one parameter pack call, on a single c++ function, looks like this: Continue reading
Yearly archives: 2019
Lambdas are delivering good and quick and simple C++. But , contrary to Functional Programming aficionados, you still need good old structs or classes. Here is the simple solution, with which you can achieve:
- mixing lambdas into structure at run-time
- polymorphic behavior without inheritance.
This is a post for C++ beginners. Not an easy role in the world of programming languages. But, I know it can be a rewarding one. Continue reading
One of those snippets you just copy-paste from SO? Can I please explain to you a few basics before your copy-paste this one? Let’s suppose you have developed for C++17.
It seems this one I got right. 15_ years ago. The role of Gogle in constant harvesting information about you.
I even have presented the schematic diagram of the big data harvester, Google is using thousands of them, on the endless fields in the virtual sky today. Continue reading

[Update 2023-01-07] Author of this humble post has decided not to use C or C++ to do any char or text or string processing, using those two languages. It is just too much trouble for no obvious gains. No drama. Might use GO. Language made by two gentlemen who invented UTF8.
[Update 2021-09-05] Here is the link to the why’s and hows of Unicode, with a focus on Windows code. At last, managed to find the time.
[Update 2021-03-18] Code in here is updated and there is a link to the Godbolt working version too.
(Note: this is the second part of C++ : codecvt deprecated. Panic? ) Continue reading