mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 19:57:43 +08:00
modify FunctionTraits
This commit is contained in:
parent
3391584d9f
commit
e26395afdc
@ -27,6 +27,8 @@ namespace drogon{
|
||||
struct FunctionTraits<
|
||||
ReturnType(ClassType::*)(Arguments...) const
|
||||
> : FunctionTraits<ReturnType(*)(Arguments...)> {
|
||||
static const bool isClassFunction=true;
|
||||
typedef ClassType class_type;
|
||||
static const std::string name(){return std::string("Class Function");}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user