d_ptr
General and Desktop
2
Posts
2
Posters
757
Views
2
Watching
-
Hi
I want to implement the d_ptr pattern in my classes
Is it OK to use the Q_DECLARE_PRIVATE macro as I believe it is undocumented and private to QtThanks for your time
Hi,
@GrahamL said:
I want to implement the d_ptr pattern in my classes
Is it OK to use the Q_DECLARE_PRIVATE macro as I believe it is undocumented and private to QtIt is best not to use private things from Qt, because they might change between versions.
You don't need that macro to implement your own d-pointers.