|
version GIT relicensing-7278-g091132d5eb 2026-12-02 03:10:01+00:00
|
#include <deal.II/base/config.h>#include <deal.II/base/enable_observer_pointer.h>#include <deal.II/base/exceptions.h>#include <atomic>#include <string>#include <typeinfo>Go to the source code of this file.
Classes | |
| class | ObserverPointer< T, P > |
Functions | |
| template<typename T , typename P , class Q > | |
| void | swap (ObserverPointer< T, P > &t1, ObserverPointer< T, Q > &t2) |
| template<typename T , typename P > | |
| void | swap (ObserverPointer< T, P > &t1, T *&t2) |
| template<typename T , typename P > | |
| void | swap (T *&t1, ObserverPointer< T, P > &t2) |
|
inline |
Global function to swap the contents of two smart pointers. As both objects to which the pointers point retain to be subscribed to, we do not have to change their subscription count.
Definition at line 657 of file observer_pointer.h.
|
inline |
Global function to swap the contents of a smart pointer and a C-style pointer.
Note that we indeed need a reference of a pointer, as we want to change the pointer variable which we are given.
Definition at line 673 of file observer_pointer.h.
|
inline |
Global function to swap the contents of a C-style pointer and a smart pointer.
Note that we indeed need a reference of a pointer, as we want to change the pointer variable which we are given.
Definition at line 689 of file observer_pointer.h.