WPILibC++ 2025.2.1
|
This cast trait provides casting for the specific case of casting to a value-typed object from a pointer-typed object. More...
#include <wpi/Casting.h>
Static Public Member Functions | |
static To | doCast (From *f) |
Static Public Member Functions inherited from wpi::CastIsPossible< To, From * > | |
static bool | isPossible (const From &f) |
Static Public Member Functions inherited from wpi::NullableValueCastFailed< To > | |
static To | castFailed () |
Static Public Member Functions inherited from wpi::DefaultDoCastIfPossible< To, From *, detail::SelfType< void, ValueFromPointerCast< To, From > > > | |
static To | doCastIfPossible (From f) |
This cast trait provides casting for the specific case of casting to a value-typed object from a pointer-typed object.
Note that To
must be nullable/constructible from a pointer to From
to use this cast.
|
inlinestatic |