Added wxAny::HasSameType()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,12 +140,19 @@ public:
|
||||
Returns the value type as wxAnyValueType instance.
|
||||
|
||||
@remarks You cannot reliably test whether two wxAnys are of
|
||||
same value type by simply comparing return values
|
||||
of wxAny::GetType(). Instead use
|
||||
wxAnyValueType::CheckType<T>() template function.
|
||||
same value type by simply comparing return values
|
||||
of wxAny::GetType(). Instead, use wxAny::HasSameType().
|
||||
|
||||
@see HasSameType()
|
||||
*/
|
||||
const wxAnyValueType* GetType() const;
|
||||
|
||||
/**
|
||||
Returns @true if this and another wxAny have the same
|
||||
value type.
|
||||
*/
|
||||
bool HasSameType(const wxAny& other) const;
|
||||
|
||||
/**
|
||||
Tests if wxAny is null (that is, whether there is data).
|
||||
*/
|
||||
|
Reference in New Issue
Block a user