added wxDECLARE_NO_COPY_TEMPLATE_CLASS_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f51723055a
commit
021f9dee07
@ -3145,6 +3145,11 @@ typedef const void* WXWidget;
|
||||
classname(const classname<arg>&); \
|
||||
classname& operator=(const classname<arg>&)
|
||||
|
||||
#define wxDECLARE_NO_COPY_TEMPLATE_CLASS_2(classname, arg1, arg2) \
|
||||
private: \
|
||||
classname(const classname<arg1, arg2>&); \
|
||||
classname& operator=(const classname<arg1, arg2>&)
|
||||
|
||||
#define wxDECLARE_NO_ASSIGN_CLASS(classname) \
|
||||
private: \
|
||||
classname& operator=(const classname&)
|
||||
|
@ -975,9 +975,27 @@ typedef double wxDouble;
|
||||
|
||||
@param classname The name of the template class.
|
||||
@param arg The name of the template parameter.
|
||||
|
||||
@see wxDECLARE_NO_COPY_TEMPLATE_CLASS_2
|
||||
*/
|
||||
#define wxDECLARE_NO_COPY_TEMPLATE_CLASS(classname, arg)
|
||||
|
||||
/**
|
||||
Analog of wxDECLARE_NO_COPY_TEMPLATE_CLASS() for templates with 2
|
||||
parameters.
|
||||
|
||||
This macro can be used for template classes with two template
|
||||
parameters for the same purpose as wxDECLARE_NO_COPY_CLASS() is used with
|
||||
the non-template classes.
|
||||
|
||||
@param classname The name of the template class.
|
||||
@param arg1 The name of the first template parameter.
|
||||
@param arg2 The name of the second template parameter.
|
||||
|
||||
@see wxDECLARE_NO_COPY_TEMPLATE_CLASS
|
||||
*/
|
||||
#define wxDECLARE_NO_COPY_TEMPLATE_CLASS_2(classname, arg1, arg2)
|
||||
|
||||
/**
|
||||
A function which deletes and nulls the pointer.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user