0

Link to source code of Loki Pimpl header. 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
markalex
  • 8,623
  • 2
  • 7
  • 32
Passionate programmer
  • 5,748
  • 10
  • 39
  • 43

2 Answers2

1

This page has most of the information you need

Manuel
  • 12,749
  • 1
  • 27
  • 35
  • Your search - ... - did not match any documents – mbx Mar 30 '11 at 07:52
  • 1
    The link is no longer valid. – Vaughn Cato Nov 08 '12 at 15:56
  • I guess I have found the given link via wayback machine: http://web.archive.org/web/20081113013932/http://bbteam.fr/mediawiki/index.php/Pimpl. If I am right, please write down those content here to improve your answer. Then we may not depend on time machines :) – zahir Dec 24 '12 at 21:48
0

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.

Matthieu
  • 4,605
  • 4
  • 40
  • 60
gaobo
  • 1