]>
sourceware.org Git - systemtap.git/blob - auto_free.h
2 // Copyright (C) 2008 Red Hat Inc.
4 // This file is part of systemtap, and is free software. You can
5 // redistribute it and/or modify it under the terms of the GNU General
6 // Public License (GPL); either version 2, or (at your option) any
13 // Very simple auto_ptr-like class for protecting storage allocated
18 auto_free(void* ptr
) : _ptr(ptr
) {}
29 // No copying allowed.
30 auto_free(const auto_free
& af
)
33 // No assignment either
34 auto_free
& operator=(const auto_free
& rhs
)
This page took 0.04163 seconds and 6 git commands to generate.