User forums > Using Code::Blocks

problem compile auto operator<=>

(1/1)

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.

Navigation

[0] Message Index

Go to full version