MPQC  3.0.0-alpha
util.h
1 
2 #ifndef _util_h
3 #define _util_h
4 
5 #include <util/ref/ref.h>
6 
7 namespace 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
sc::Ref
A template class that maintains references counts.
Definition: ref.h:361
sc::Ref::pointer
T * pointer() const
Returns a pointer the reference counted object.
Definition: ref.h:413
sc
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14

Generated at Sun Jan 26 2020 23:23:58 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.