scratch2 icon indicating copy to clipboard operation
scratch2 copied to clipboard

s2::string consistency in operator[]

Open codecat opened this issue 5 years ago • 0 comments

https://github.com/codecat/scratch2/blob/b951a1d019bfc117fabc57d8baf4d162dc1ebffa/scratch2/s2string.h#L84-L85

  1. They're passed as int instead of size_t.
  2. There should be consistent spacing between operator and [] (like in stringsplit).

codecat avatar Jun 20 '20 14:06 codecat