Use this macro ONLY inside namespace folly. When using it with a regular type, use it like this:

Synopsis

Declared in <folly/Traits.h>

#define FOLLY_ASSUME_RELOCATABLE(…​)

Description

// 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>)

Created with MrDocs