Daily bit(e) of C++ #318, Type erasure using an explicit wrapper type using the PIMPL pattern.
What is the purpose of passing std::move(iface) to function taking by value?
void user(SomeInterface data) {
Daily bit(e) of C++ | Type erasure: PIMPL
What is the purpose of passing std::move(iface) to function taking by value?
void user(SomeInterface data) {