Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
apparently parses as an initialization of GuiLayer's memeber called Iterator, and throws an error because of the space, when in fact Iterator is an internal class of GuiLayer and this is the constructor
-
@Demolishun It was the first line of the definition of a constructor for the class GuiLayer::Iterator which takes one argument. The class and constructor had already been defined with the same param type in a header which was included.
The solution was to repeat "::Iterator"
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
sam966911Hats off to this lady .... I would have just flipped the machine
Seriously, FUCK initialization in parenthesis.
Because of fucked-up C++ standards I spent half an hour debugging a cryptic AST error because my method definition was apparently parsed as a member initialization.
rant
shit syntax
initialization
c++