Thread Previous • Date Previous • Date Next • Thread Next |
> > I doubt the current code will ever cause bad behaviour. Because its inline. And technically it is not modifying the object. What would be a stupid function is one that changes the linked list pointer and declares itself constant. But a function that is read-only like this should always be allowed to be const.
Thread Previous • Date Previous • Date Next • Thread Next |