Print

Print


On Mar 31, 2014, at 9:35 PM, Kian-Tat Lim <[log in to unmask]> wrote:

> Daniel,
> 
>> Can you think of a better
>> term for a "bundle of values with no behavior that should never be
>> inherited from"?
> 
> 	Isn't this akin to "Plain-Old Data"?

It’s a decent match for the C++11 notion of POD, though I believe you can have an inheritance hierarchy of POD types. Earlier versions of the standard match less well (no user provided constructors allowed at all).

Google results for "abstract value class” have nothing whatsoever to do with Daniel’s definition, so I can see how this might be confusing to someone reading the code. Maybe we can describe such things as spiritually-POD?
########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1