How to use Loki's Pimpl implementation?
Link to source code of Loki Pimpl hea开发者_运维问答der. I am not able to find any documentation on how to use the same, can any one explain how to use. And what does the following function in the header do.
- PimplOwner
- ImplOf
- PimplOf
- RimplOf
This page has most of the information you need
Loki has a short smart pointer (Smart Pointer). I use Loki::Pimpl and smart pointer defined as follows:
Loki::Pimpl<string, ConstPropPtr<string> > smartPoint;
you can try to use this.
精彩评论