
News and Catching Up
CppCast
00:00
Is There a Discard on a Function?
i think some of these things, i've never seen, let's say, a const member function in something that is clearly just a getter, right? Right? That returns the value. Why would you ever no discard that? It rit or that? Like, there's, i think, some cases where you can say, this a hundred % rulea, that this should be no discard um. I mean, it i i don't understand why you would want to undo that work,. im i these arguments don't really seem all that compelling to me, but i'm not in the committee, so i don't know.
Transcript
Play full episode