c++ array slice syntax `a = b[:N]`