PepMS / eagle-mpc

EagleMPC is a model predictive control & optimal control library for unmanned aerial manipulators (UAMs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove std::size_t where is not needed

PepMS opened this issue · comments

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.

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/