static assert random access failing