User forums > Using Code::Blocks

problem compile auto operator<=>


I have problem with auto operator<=>(const Fraction& f) const;.
Compiler settings -std=gnu++2a but nothing.

compiler says error: declaration of 'operator<=' as non-function

I ma working at Linux Mint.
Thank you


Miguel Gimenez:
Code::Blocks is an IDE, not a compiler, so compilation problems are OT here.


[0] Message Index

Go to full version