MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
util.h
1
2#ifndef _util_h
3#define _util_h
4
5#include <util/ref/ref.h>
6
7namespace sc {
8 template <class T>
9 inline T*
10 get_pointer(const sc::Ref<T>& ref) {
11 return ref.pointer();
12 }
13}
14
15#endif
A template class that maintains references counts.
Definition ref.h:361
T * pointer() const
Returns a pointer the reference counted object.
Definition ref.h:413
Contains all MPQC code up to version 3.
Definition mpqcin.h:14

Generated at Wed Sep 25 2024 02:45:29 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.