What's the proper way to set a std::vector to another std::vector?The OP doesn't want to assign a complete vector to another. The OP wants to remove items from a vect...
What's the proper way to set a std::vector to another std::vector?Also consider remove_if() on tets_to_use. You're not trying to set a std::vector to another std::vec...
Can I make this a constexpr?The code below compiles OK with MS VS2022: [code] typedef float real; struct Vector3 { real x; r...
ChatGPT is too smartHave you seen Dave Plummer's new video re AI writing c code? He uses AI to produce a Notepad applica...
sorting an integer arrayI use VS 2022 (not code). If you're getting an error with std::size then you're using an old versio...