Reflection in C++14
A stupid challenge
A few months ago, I was playing around with C++ by trying to build an MVC web framework similar to Ruby on Rails. The project itself didn't have an end goal, besides experimenting with a few things, but it brought interesting challenges.
One of the challenges was routes configuration. One of the most important mechanisms of an MVC web framework is to configure some routes (API endpoints) that the client can request. Each route is associated with a specific action of a controller.