Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5186

SDK • Re: Trouble printing time_us_64() [SOLVED]

$
0
0
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'
Which compiler are you using? Did you include the <algorithm> header?

Statistics: Posted by tttapa — Thu Jan 02, 2025 11:01 pm



Viewing all articles
Browse latest Browse all 5186

Trending Articles