#26 Patch to add "const" support to Poco::AutoPtr

closed
nobody
None
5
2012-09-14
2007-12-12
R. Kraay
No

Attached is a patch which will allow Poco::AutoPtr's to contain constant or non-constant pointers. It is also possible to assign non-constant AutoPtr's to constant AutoPtr's (but not the other way). This patch is based on Poco version 1.3.1.

Also attached is a snippet of test code, used to verify it's functionality.

Discussion

  • R. Kraay
    R. Kraay
    2007-12-12

    AutoPtr Patch and test file

     
    Attachments
  • Logged In: YES
    user_id=1148207
    Originator: NO

    Thanks - great patch!