Code::Blocks Forums
User forums => Help => Topic started by: tilblackout on May 10, 2019, 11:42:15 am
-
friend ostream& operator<<(ostream& os ,Fraction &&obj)
error: expected ',' or '...' before '&&' token|。
On VS there is no error.
How can I solve it?
-
rvalue references needs a C++11 or newer compiler, did you activate C++11 mode in whatever compiler you are using (CodeBlocks is not a compiler)?
-
THX,Solved.