Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

smartptr.h File Reference

Detailed Description

Smart pointers.

Definition in file smartptr.h.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "checks.h"

Go to the source code of this file.


namespace  colib


class  colib::autodel< T >
 Automatic deletion, linear assignment. More...
class  colib::autofree< T >
 A simple smart pointer class for holding malloc-allocated pointers. More...
class  colib::autoref< T >
 Automatic allocation and deletion, linear assignment. More...
class  colib::cleanup
 General class for remembering cleanup actions (e.g., for pointers). More...
class  colib::cleanup::Cleaner
 Internal helper class. More...
class  colib::cleanup::TheCleaner< F, T >
class  colib::stdio
 A simple class for holding stdio streams. More...

Generated by  Doxygen 1.6.0   Back to index