You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target/cxx/gen0.cxx:137:26: error: cannot initialize a variable of type 'const char *(Bytes::*)() const' with an rvalue of type 'Bytes::reference (Bytes::*)() const': different return type ('const char *' vs 'Bytes::reference' (aka 'const char &')) char const *(::Bytes::*front$)() const = &::Bytes::front;
This example taken from a vendor library header (and minimised).
Expected behavior
It compiles and returns a reference.
Additional context
Apologies if this is actually the same issue as something else - I tried to search the issues and this seems original.
The text was updated successfully, but these errors were encountered:
Describe the bug
Disclaimer: Not a C++ expert, please amend the description if incorrect
To Reproduce
Fails with:
This example taken from a vendor library header (and minimised).
Expected behavior
It compiles and returns a reference.
Additional context
Apologies if this is actually the same issue as something else - I tried to search the issues and this seems original.
The text was updated successfully, but these errors were encountered: