can a struct be declared as body object instead of a class??

can a struct be declared as body object instead of a class??

Hi Senior programmer of TBB,

Since the last posts until now, I still haven't been able to write my first application using TBB. Then, I decided to read some real application.

HOG descriptors, a algorithm to detect human, is implemented in OpenCV library and also uses TBB.

I just want to ask if a struct can be replace for a class to be declared as body object in TBB application?? because in HOG, it is done so.

Why isn't this documented in Intel TBB document (TBB tutorial or TBB getting started)? or did I miss something??

Thank you for any comment!

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

Struct and class types are equivalent, except for different default visibilities (public resp. private).

Login to leave a comment.