开发者

How to use Loki's Pimpl implementation?

开发者 https://www.devze.com 2022-12-19 19:55 出处:网络
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.

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

精彩评论

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