Closed mikeroberts3000 closed 9 months ago
Note that I previously thought it would not be practical for our entry points to take const
references as input arguments. I thought this because we often want to construct std::span
objects from input std::vector
objects, and I didn't think it was practical to construct a std::span<T>
object from a const std::vector<T>&
reference. But I realized this is actually pretty clean and easy. So we can keep the convention that our entry points take const
references as input, and we don't need to use the mutable
keyword in our new work queue implementation.
Thank you for reviewing this in detail and finding some great things to fix! 😄