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.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to