Missing size() function causes compilation failure