开发者

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.

  1. PimplOwner
  2. ImplOf
  3. PimplOf
  4. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜