?
=?iso-8859-1?q?Ernesto_Basc=F3n?=
Hi everybody:
I have two questions:
1. I'm using opaque pointers in my classes to hide their data
structures; there is a way to use opaque pointers in template classes;
since the implementation and the declaration of the template class is
in the same file, the use of opaque pointers does not make sense,
but... what about implementation hiding for libraries? how can I make
sure that the new versions of my libraries have binary compatibility
with the old ones?
2. As a good C++ design, should be better using ABCs instead of opaque
pointers, providing just abstract interfaces to my users and change
arbitrarily the implementation if needed?
Regards,
Ernesto
I have two questions:
1. I'm using opaque pointers in my classes to hide their data
structures; there is a way to use opaque pointers in template classes;
since the implementation and the declaration of the template class is
in the same file, the use of opaque pointers does not make sense,
but... what about implementation hiding for libraries? how can I make
sure that the new versions of my libraries have binary compatibility
with the old ones?
2. As a good C++ design, should be better using ABCs instead of opaque
pointers, providing just abstract interfaces to my users and change
arbitrarily the implementation if needed?
Regards,
Ernesto