C++: Assignment for Optional | Hacker News Reader