I am researching the source code of webkit, but I fail to understand the implementation of WTFMove that the source code like following:
enum CheckMoveParameterTag { CheckMoveParameter };
#define WTFMove(value) std::move<WTF::CheckMoveParameter>(value)
Why wants to pass an enum variable as std::move template parameter? What does it prevent from?
Aucun commentaire:
Enregistrer un commentaire