I am using g++ 10.2 for this code. Does anybody know why I get a compiler error for the last reverse on results3? The error can be seen here https://godbolt.org/z/Y7Gjqd