Re: Deserialize JSON to C++ vector
That kind of enum is unscoped, meaning that you just refer to them as up and down without a prefix.
Using the name of the enum as the type in the function is correct and shouldn't be changed to int.
Also you will notice that _d is not in fact defined anywhere: the parameter is d, the header is direction. Your first case label tries to use _d. If you haven't turned punctuation up in the screen reader so that you can hear _, you need to.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector