|
Celeritas 0.7.0-3+develop.835656ac1
|
Storable projector that loads a struct member via ldg .
More...
#include <Ldg.hh>
Public Types | |
| using | MemberPtr = T Class::* |
Public Member Functions | |
| constexpr T | operator() (Class const &obj) const |
Public Attributes | |
| MemberPtr | 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.