add const qualifiers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -200,7 +200,7 @@ public:
/**
Returns pointer to object or @NULL.
*/
T* get();
T* get() const;
/**
Conversion to a boolean expression (in a variant which is not
@@ -208,19 +208,19 @@ public:
contains a valid pointer it will return @e @true, if it contains
a @NULL pointer it will return @e @false.
*/
operator unspecified_bool_type();
operator unspecified_bool_type() const;
/**
Returns a reference to the object. If the internal pointer is @NULL
this method will cause an assert in debug mode.
*/
T operator*();
T operator*() const;
/**
Returns pointer to object. If the pointer is @NULL this method will
cause an assert in debug mode.
*/
T* operator-();
T* operator-() const;
/**
Releases the current pointer and returns it.