Changed std::size_t to size_t, as they are the same.