HDTree  0.5.2
HDTree C++ API
Access.h
1 #pragma once
2 
3 #include "hdtree/Version.h"
4 
5 namespace hdtree {
6 
21 struct access {
31  template <typename T, typename D>
32  static void connect(T& t, D& d) {
33  t.attach(d);
34  }
35 }; // access
36 
37 } // namespace hdtree
Geant4 does a GLOBAL definition of the keyword TRUE.
Definition: Atomic.cxx:3
empty struct for connecting a instance of Data and the type it wraps
Definition: Access.h:21
static void connect(T &t, D &d)
Connect the input types by attaching t to do.
Definition: Access.h:32