Unused PIMPL pointer in TagLib::Tag

Scott Wheeler wheeler at kde.org
Tue Dec 15 16:06:26 CET 2009


On Dec 15, 2009, at 3:56 PM, Stephen Hewitt wrote:

> Still, as applied to the TabLib::Tag class its usage seems a little  
> strange since it's abstract and not a single methods uses the  
> indirection that makes the idiom work (in this case indirection  
> through TagLib::Tag::d).

The idea was that 6 years ago when that interface was created (TagLib  
has maintained binary compatibility since then) it wasn't clear that  
there wouldn't ever be a need for private fields, so it was best to go  
ahead and create them for possible future use.

-Scott


More information about the taglib-devel mailing list