issue when using the assert macro in C++ with std::map
I’m encountering a puzzling issue when using the assert macro in C++20 with std::map:
Code (Fails to Compile):
Should you use asserts to double check states you are very certain is true anyways?
I am in the midst of learning C++ and have a question about potential over use of asserts in my code.