I've been working on implementing a modern listener for a DataReader in C++11 and it's causing me issues. The examples are all C++03 that I can see.
Can anyone point me to an example that uses a Modern C++11 listener? I'm mostly interested in the class that I need to inherit from the template dds::sub::DataReaderListener<T> along with it's overrides and then calling set_listener on the data reader.
Please see the API documentation here: DataReader Use Cases
On this page, look for "Implementing a DataReaderListener Class" and "Setting a listener on a DataReader".