python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
C++ abi compatability without pimpl using abstract class
Suppose I have a class B_Impl which inherits and implements a pure abstract class B (not containing any data-fields).
Suppose class A uses B_Impl via B* only.
If I add a field to B_Impl.h (clearly, no...
JenyaKh
Votes: 0
Answers: 1
Why does = default member initializer request instantiation of unique_ptr destructor while {} does not?
This is a follow up of this question: Does PIMPL idiom actually work using std::unique_ptr?
The full example uses multiple files, so for the sake of this question I will reduce it here. The full worki...
463035818_is_not_an_ai
Votes: 0
Answers: 1
Max Heap built with pimpl in c++ not working properly
I have a class built using the pimpl idiom that represents a binary max Heap and it is not working properly: the program compiles and prints the content of the array but the array is not sorted correc...
Spyromancer
Votes: 0
Answers: 1
Constructor and destructor in c++ when using the pimpl idiom
I come from Java that has a different way in handling what's private and has to be hided regarding a class implementation and it also has a garbage collector which means there is no need for a destruc...
Spyromancer
Votes: 0
Answers: 1