LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Class defining whether the specified type can be dereferenced. More...
#include "Dereference.h"
Class defining whether the specified type can be dereferenced.
T | the type to be tested for dereferenciation |
Enable | triggers the conditional compilation |
Usage:
static_assert(!has_dereference_class<int>::value, "error"); static_assert(has_dereference_class<int*>::value, "error");
The class is implemented by two definitions:
The selection mechanism will always select the second form if available, since it is more specialized.
Definition at line 49 of file Dereference.h.