Forward declarations of oneTBB types over different versions #2101
xamidi
started this conversation in
Design discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I defined some forward declarations in FwdTbb.h, but they keep changing for newer versions of oneTBB (as revealed by several uses of
TBB_INTERFACE_VERSION), e.g. due to renaming of namespaces. For example, in some header file, I can declarewithout including
<tbb/concurrent_vector.h>, but do that only in the corresponding source file, where I can then define:tbb::concurrent_vector<string>& MyClass::myMethod() { [...] }I wonder whether changes of types (or their internal location) between release versions are summarized somewhere, or whether forward declaring oneTBB's structures are somehow discouraged. Maybe I missed documentation or better ways of doing things?
Beta Was this translation helpful? Give feedback.
All reactions