Björn Fahller

Results 201 comments of Björn Fahller

@saxbophone feel free to open a separate issue about that.

The failure with Windows C++20 is issue #18, so never mind that. I need to think a bit if having both a full set of comparison functions `=` in addition...

It looks like for comparisons using the ordering operators, they have precedence over ``, whereas an explicit call to `operator()` goes through as expected. I have not read what the...

Thanks @mattgodbolt. It can be difficult to trick the compiler into providing good information for ill formed programs, but at times it can be done. I'll see what I can...

Curiously, clang++-3.9 is very clear on what the problem is: ``` c.cpp:17:28: error: reference to 'Foo' is ambiguous MAKE_MOCK1(onFoo, void(Foo)); ^ /var/tmp/trompeloeil/trompeloeil.hpp:3576:35: note: expanded from macro 'MAKE_MOCK1' #define MAKE_MOCK1 TROMPELOEIL_MAKE_MOCK1...

Reported this as a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79070

Maybe I misunderstand, but I think you can already do what you want. Here's a (totally untested) take on how `MockCallback` could look like. ```Cpp template struct MockCallback { R...

That one seems to be a bug. Accepting the tuple by `const&` works fine. I'll have to look into this. Here's an example: https://gcc.godbolt.org/z/nDHTtx Using the function signature style of...

Created issue #129 for this, in case you want to follow it.