[Cppcms-users] Variadic Tempaltes
Brought to you by:
artyom-beilis
From: Marcel H. <ke...@co...> - 2016-08-19 09:31:50
|
Hi Artyom, I see some points in the code where variadic tempaltes[0] would make sense, e.g. url_dispatcher:assign. There are some thing I notice in the current trunk version. There is a thing called `generic_handler` and I think the purpose is to replace the old handler* typedefs, right? Why not use something like `template <class... Strings> typedef booster::function<void(Strings...)> generic_handler;` ? It would fit all needings and has always the right number of arguments. You use it in the map function that are declared with v1_2, which is strange, because you drop pre-c++11 compiler, is that intended (I would really welcome it)? The same thing can be used in the url_mapper:map function, where you did not do such thing until now. The question is, should this framework go full c++11? Drop c++98 completly (hint: yes! :) ). Also, I would like to participate more, but I don't know really how. I made some patch requests in the past, but I don't like the sourceforge way. I would like to see CppCMS to become a more community-driven and not a single-person project like now. I really like to use it, but don't get me wrong, I want to become it even better and more popular. I don't know any framework like this. Keep up the good work and please don't forget to answer my questions ;) Regards, Marcel [0]: https://en.wikipedia.org/wiki/Variadic_template |