learned.txt (484B)
1 List of things I learned (or refreshed) with this year's AoC. 2 3 * Day 1: std::count() 4 * Day 2: std::sstream 5 * Day 3: std::string_view 6 * Day 4: nothing special, some practice with classic and a weird trick 7 to assign two variables at once with a pair of references pair<int&, int&> 8 * Day 5: std::find and std::replace 9 * Day 8: set::insert_range(), but it is from C++23 only 10 * Day 9: std::views 11 * Day 11: if(init; cond) 12 * Day 19: more practice with std::string_view for constant string