add some code annotations

This commit is contained in:
an-tao 2018-06-05 19:09:17 +08:00
parent 232094f01a
commit 4accacd9a6
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ namespace drogon{
std::list<std::string> &pathParameter,
const HttpRequest& req,std::function<void (HttpResponse &)>callback,
Values&&... values
) {
)
{
//call this function recursively until parameter's count equals to the count of target function parameters
typedef typename std::remove_cv<typename std::remove_reference<nth_argument_type<sizeof...(Values)>>::type>::type ValueType;
ValueType value;
if(!pathParameter.empty())