Explore >> Select a destination


You are here

www.foonathan.net
| | www.bfilipek.com
3.1 parsecs away

Travel
| | Variadic Templates from C++11 is probably not a feature that you use on a daily basis. But recently, I've come across one refactoring example where I've decided to give a try and apply variadics. Intro When I was doing some work in some old UI code I've noticed several similar lines of code that looked like that:
| | mpark.github.io
5.0 parsecs away

Travel
| | The pitfall of eagerness of perfect forwarding.
| | www.kuniga.me
3.3 parsecs away

Travel
| | NP-Incompleteness:
| | mklimenko.github.io
27.1 parsecs away

Travel
| Every time I work with a C library, I miss the power and capability of the type system C++ provides. That's why I developed a simple C++17 header-only helper library to pack the multiple type-dependent C-style functions into single overload deduced at compile-time. No external libraries are required. Repo link: https://github.com/MKlimenko/plusifier. Currently, it's just the header and a compile-time test file, CMake integration coming soon.