|
Celeritas 0.7+c0d26b9
|
Storable projector that loads a struct member via ldg .
More...
#include <Ldg.hh>
Public Member Functions | |
| T | operator() (Class const &obj) const |
Public Attributes | |
| T Class::* | mp |
Storable projector that loads a struct member via ldg .
Stores a pointer-to-member and, when called with an object, returns the member value loaded via __ldg . Use this when the load must be captured as a callable; for immediate use prefer the two-argument ldg overload.