This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi All,
Is it possible to use smart pointers in my arp32 application (arp32 compiler version is 1.0.7) ??
If not, is there higher version of arp32 compiler that allow us to use smart pointers. ?
Please let me know.
Regards,
Likhith C
Hi Likhith,
We are checking with compiler team on this. We will get back to you soon.
Regards,
Anshu
Smart pointers (unique_ptr, shared_ptr) are features introduced by C++11.
ARP32 currently supports C++98/03, and as such does not have unique_ptr or shared_ptr.
If you're looking to use shared_ptr, I do believe it's possible to implement a reasonable facsimile it in C++98/03. However, unique_ptr requires language features that aren't available.