Menu

SmartPtr Ownership policy

Fraser
2009-08-03
2013-04-08
  • Fraser

    Fraser - 2009-08-03

    In the book the usable members are firstly protected (P191) then on the following page they are public.  They are also public in the Loki source.  Protected is the access specifier that is required.  The Loki source code needs fixing.  I'll add something to the books errata list.

     
  • Richard Sposato

    Richard Sposato - 2009-09-24

    Thanks for alerting us to the accessibility of the OwnershipPolicy classes.  I will take a look into this.

    Rich

     
  • Richard Sposato

    Richard Sposato - 2009-10-15

    I fixed this in revisions 1028 and 1029.  All the SmartPtr policies used protected functions by default now.

    Cheers,

    Rich

     

Log in to post a comment.