Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DuckDetector_test Class Reference

Description

Test:
verify building predicates to detect properties of a type at compile time. Especially, this allows us to detect if a type in question
  • has a nested type with a specific name
  • has a member with a specific name
  • defines a function with a specific signature

Definition at line 61 of file duck-detector-test.cpp.

Private Member Functions

 META_DETECT_NESTED (Core)
 
 META_DETECT_MEMBER (honk)
 
 META_DETECT_FUNCTION (PropperGander &, honk,(long, long))
 
void run (Arg)
 

Member Function Documentation

◆ META_DETECT_NESTED()

META_DETECT_NESTED ( Core  )
private

◆ META_DETECT_MEMBER()

META_DETECT_MEMBER ( honk  )
private

◆ META_DETECT_FUNCTION()

META_DETECT_FUNCTION ( PropperGander &  ,
honk  ,
(long, long  
)
private

◆ run()

void run ( Arg  )
inlineprivate

Definition at line 70 of file duck-detector-test.cpp.

References SHOW_CHECK.

+ Inheritance diagram for DuckDetector_test:
+ Collaboration diagram for DuckDetector_test:

The documentation for this class was generated from the following file: