[Cppcms-users] cppcms and C++11/14
Brought to you by:
artyom-beilis
|
From: Alex B. <ale...@we...> - 2015-04-09 06:52:23
|
Hi,
are there future plans for C++11/14.
Like a URL-Dispatcher with lambdas or std::function, something like this:
dispatch("/number/(\\d+)", [&](std::string number){
this->number(number); });
dispatch("/foo/(\\d+)/(\\d+)", [&](std::string bar2, std::string bar1){
this->foo(bar1, bar2); });
Switch between smartpointers,
Use CMake to setup?, -DUSE_CPPCMS_STD_PTR=std::unique_ptr,
-DUSE_CPPCMS_STD_PTR=std::auto_ptr,
auto_ptr will maybe removed in C++17.
cppcms::thread_pool.post more compatible with std::thread, lambdas, ...
|