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 / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de Artem Vorobiev (Intel)

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.

Faça login para deixar um comentário.