bug: PXCBase protected copy CTOR/assignment operator: copy is not prohibited

bug: PXCBase protected copy CTOR/assignment operator: copy is not prohibited

PCSDK\include\pxcbase.h class PXCBase

Protected copy CTOR and assignment operator still available for "prohibited" copy in classes based on PXCBase, so "copy protection" is not prohibited at all.

Use following well-known access scheme.

class PXCBase
{
...
protected:
PXCBase::PXCBase(){}
...
private:
PXCBase(PXCBase const&); ///@note w/o implementation
PXCBase& operator=(PXCBase const&); ///@note w/o implementation
...
}; 

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi sps,

Thank you for the bug report. Fix for this issue will be available in the future releases of Perceptual Computing SDK.

Best regards,
Artem

Thanks. This is very helpful.

Leave a Comment

Please sign in to add a comment. Not a member? Join today