

1·
1 month agoI think it’s complaining that you don’t have the include statement for std::optional. Try adding above the SFML include.


I think it’s complaining that you don’t have the include statement for std::optional. Try adding above the SFML include.
I see everyone posting about Ctrl+R, here’s a couple more useful CLI shortcuts you might enjoy:
cd - (change directory to $OLDPWD usually the previous directory)
git checkout - (similarly checkout the previous branch)
Ctrl+A (return caret to beginning of command, great when you forgot a positional argument and you were almost done typing the command)
Ctrl+E (similar to Ctrl+A but move to the end of the command)
“Lazy Lombax”