Use this macro ONLY inside namespace folly. When using it with a regular type, use it like this:
Declared in <folly/Traits.h>
#define FOLLY_ASSUME_RELOCATABLE(...)
// Make sure you're at namespace ::folly scope template <> FOLLY_ASSUME_RELOCATABLE(MyType)
When using it with a template type, use it like this:
// Make sure you're at namespace ::folly scope template <class T1, class T2> FOLLY_ASSUME_RELOCATABLE(MyType<T1, T2>)