@@ -1699,17 +1699,6 @@ template <typename T> wxDELETEA(T*& array);
|
||||
*/
|
||||
#define wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(func, body)
|
||||
|
||||
/**
|
||||
@c wxEXPLICIT is a macro which expands to the C++ @c explicit keyword if
|
||||
the compiler supports it or nothing otherwise. Thus, it can be used even in
|
||||
the code which might have to be compiled with an old compiler without
|
||||
support for this language feature but still take advantage of it when it is
|
||||
available.
|
||||
|
||||
@header{wx/defs.h}
|
||||
*/
|
||||
#define wxEXPLICIT
|
||||
|
||||
/**
|
||||
@c wxOVERRIDE expands to the C++11 @c override keyword if it's supported by
|
||||
the compiler or nothing otherwise.
|
||||
|
@@ -26,7 +26,7 @@ public:
|
||||
Creates shared pointer from the raw pointer @a ptr and takes ownership
|
||||
of it.
|
||||
*/
|
||||
wxEXPLICIT wxSharedPtr(T* ptr = NULL);
|
||||
explicit wxSharedPtr(T* ptr = NULL);
|
||||
|
||||
/**
|
||||
Constructor.
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
@since 3.0
|
||||
*/
|
||||
template<typename Deleter>
|
||||
wxEXPLICIT wxSharedPtr(T* ptr, Deleter d);
|
||||
explicit wxSharedPtr(T* ptr, Deleter d);
|
||||
|
||||
/**
|
||||
Copy constructor.
|
||||
|
Reference in New Issue
Block a user