Remove std::size_t where is not needed
PepMS opened this issue · comments
Pep Martí Saumell commented
Variables of std::size_t are used as a substitute for uint. It should only be used where it specifies a dimension and use, e.g. uint64_t instead for all other uses.
Pep Martí Saumell commented
size_t can be used as an unsigned int
or unsigned long
. Keep using std::size_t
to represent unsigned integers. See: https://www.educba.com/c-plus-plus-size_t/