Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions examples/specific/cpp_function_lookup.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// stuff on the paramQual
void fNoexcept() noexcept;
void fFinal() final;
void fOverride() override;
void fAttr() [[myattr]]; // TODO: Doxygen seems to strip attributes
void fFInit() = default;
auto fTrailing() -> int;

// different parameters
void fInit(int arg = 42);
void fPlain(int arg);
void fPtr(int *arg);
void fLRef(int &arg);
void fRRef(int &&arg);
template<typename ...T>
void fParamPack(T ...arg);
class A {};
void fMemPtr(int A::*arg);
void fParen(void (*arg)());

// different parameters in a function pointer
void fParenPlain(void (*arg)(int argInner));