libabigail
Loading...
Searching...
No Matches
abg-sptr-utils.h File Reference

Utilities to ease the wrapping of C types into std::shared_ptr. More...

#include <regex.h>
#include <memory>
Include dependency graph for abg-sptr-utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  noop_deleter
 A deleter for shared pointers that ... doesn't delete the object managed by the shared pointer. More...
 

Namespaces

namespace  abigail
 Toplevel namespace for libabigail.
 
namespace  abigail::sptr_utils
 Namespace for the utilities to wrap C types into std::shared_ptr.
 

Functions

template<class T >
shared_ptr< T > build_sptr ()
 This is to be specialized for the diverse C types that needs wrapping in shared_ptr.
 
template<class T >
shared_ptr< T > build_sptr (T *p)
 This is to be specialized for the diverse C types that needs wrapping in shared_ptr.
 

Detailed Description

Utilities to ease the wrapping of C types into std::shared_ptr.

Definition in file abg-sptr-utils.h.