ViennaCL - The Vienna Computing Library  1.5.2
Data Structures | Namespaces
viennacl/tools/shared_ptr.hpp File Reference

Implementation of a shared pointer class (cf. std::shared_ptr, boost::shared_ptr). Will be used until C++11 is widely available. More...

#include <cstdlib>
#include <algorithm>

Go to the source code of this file.

Data Structures

class  count
 Reference counting class for the shared_ptr implementation. More...
struct  aux
 Interface for the reference counter inside the shared_ptr. More...
struct  auximpl< U, Deleter >
 Implementation helper for the reference counting mechanism inside shared_ptr. More...
struct  default_deleter< U >
 Default deleter class for a pointer. The default is to just call 'delete' on the pointer. Provide your own implementations for 'delete[]' and 'free'. More...
class  shared_ptr< T >
 A shared pointer class similar to boost::shared_ptr. Reimplemented in order to avoid a Boost-dependency. Will be replaced by std::shared_ptr as soon as C++11 is widely available. More...

Namespaces

namespace  viennacl
 

Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.


namespace  viennacl::tools
 

Namespace for various tools used within ViennaCL.


namespace  viennacl::tools::detail
 

Contains implementation details for the tools. Usually not of interest for the library user.



Detailed Description

Implementation of a shared pointer class (cf. std::shared_ptr, boost::shared_ptr). Will be used until C++11 is widely available.

Contributed by Philippe Tillet.