Use Modern C++ Types Correctly
To use the Modern C++ Connext DDS API correctly you need to understand its type system. Most types in the API belong into two categories:
- Value types
- Reference types
Value types have deep-copy semantics, while Reference types behave like shared pointers.
Make sure to read the Conventions section in the Modern C++ API Reference for more information.
See also: Don't declare entities as pointers.