![]() |
Lumiera 0.pre.04
»edit your freedom«
|
However, when it comes to detecting the presence of a specific function, there are some complexities and variations to consider. Sometimes we only want to check for the presence of some function, while in other cases we also want to verify the exact signature of that function. Moreover, some of these detection techniques break down whenever there is overload ambiguity; thus we might need to resort to an alternative, not so strict test to get past such limitations.
Definition at line 90 of file duck-detector-extension-test.cpp.
Private Member Functions | |
| META_DETECT_EXTENSION_POINT (funZ) | |
| META_DETECT_EXTENSION_POINT (fun) | |
| META_DETECT_FUNCTION (double, funny,(char, char, string)) | |
| META_DETECT_FUNCTION (llong, fuzzy,(void)) | |
| META_DETECT_FUNCTION_NAME (funny) | |
| META_DETECT_FUNCTION_NAME (funky) | |
| META_DETECT_FUNCTION_NAME (fuzzy) | |
| META_DETECT_FUNCTION_NAME (fully) | |
| META_DETECT_MEMBER (funny) | |
| META_DETECT_MEMBER (funky) | |
| META_DETECT_MEMBER (fuzzy) | |
| META_DETECT_MEMBER (fully) | |
| META_DETECT_FUNCTION_ARGLESS (funny) | |
| META_DETECT_FUNCTION_ARGLESS (funky) | |
| META_DETECT_FUNCTION_ARGLESS (fuzzy) | |
| void | run (Arg) |
| void | detect_freeFunctionADL_ExtensionPoint () |
| void | detect_memberFunctionVariations () |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 112 of file duck-detector-extension-test.cpp.
References DuckDetectorExtension_test::detect_freeFunctionADL_ExtensionPoint(), and DuckDetectorExtension_test::detect_memberFunctionVariations().
Here is the call graph for this function:
|
inlineprivate |
begin(TY) and end(TY), to yield a STL compatible iterator.Since such an extension point is used just by invoking the unqualified function with the target type, we can build a meta predicate based on the fact if such an function invocation expression can be formed for the type in question.
Definition at line 135 of file duck-detector-extension-test.cpp.
Referenced by DuckDetectorExtension_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 172 of file duck-detector-extension-test.cpp.
Referenced by DuckDetectorExtension_test::run().
Here is the caller graph for this function:
Inheritance diagram for DuckDetectorExtension_test:
Collaboration diagram for DuckDetectorExtension_test: