News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

problem compile auto operator<=>

Started by dkaip, September 13, 2022, 09:23:39 PM

Previous topic - Next topic

dkaip

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

Jim.


Miguel Gimenez

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