On Tue, Feb 18, 2020 at 01:07:52PM -0800, Jacob Keller wrote:
> Good, the name is marked as constant. Side note, for those interface_*
> functions that don't modify the interface, does it make sense to mark
> them as taking a const interface pointer?

I have heard C++ people insisting on this, but frankly IMHO it doesn't
make any sense.  If the implementation of the "class" is completely
hidden, as it should be, then the caller should not care what happens
offstage.  That is none of the caller's business.


Linuxptp-devel mailing list

Reply via email to