We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56293af + e4f3768 commit b35799dCopy full SHA for b35799d
platform/SharedPtr.h
@@ -24,6 +24,8 @@
24
25
#include "platform/mbed_critical.h"
26
27
+namespace mbed {
28
+
29
/** Shared pointer class.
30
*
31
* A shared pointer is a "smart" pointer that retains ownership of an object using
@@ -285,4 +287,10 @@ bool operator!= (U lhs, const SharedPtr<T> &rhs)
285
287
return ((T *) lhs != rhs.get());
286
288
}
289
290
+} /* namespace mbed */
291
292
+#ifndef MBED_NO_GLOBAL_USING_DIRECTIVE
293
+using mbed::SharedPtr;
294
+#endif
295
296
#endif // __SHAREDPTR_H__
0 commit comments