WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
llvm::PointerLikeTypeTraits< T * > Class Template Reference

Public Types

enum  { NumLowBitsAvailable = 2 }
 Note, we assume here that malloc returns objects at least 4-byte aligned. More...
 

Static Public Member Functions

static void * getAsVoidPointer (T *P)
 
static T * getFromVoidPointer (void *P)
 

Member Enumeration Documentation

template<typename T >
anonymous enum

Note, we assume here that malloc returns objects at least 4-byte aligned.

However, this may be wrong, or pointers may be from something other than malloc. In this case, you should specialize this template to reduce this.

All clients should use assertions to do a run-time check to ensure that this is actually true.


The documentation for this class was generated from the following file: