Which compiler are you using? Did you include the <algorithm> header?However, even if I set CMAKE_CXX_STANDARD 17, I still get this when attempting std::clamp()tick_count = std::clamp(tick_count, min_ticks,max_ticks);
error: 'clamp' is not a member of 'std'
Statistics: Posted by tttapa — Thu Jan 02, 2025 11:01 pm