Embedded, Mbed OS & Smart pointers

We are using GCC, and we have never used ARM C6, so I cannot say.

It compiles for GCC though, see: