O'Reilly logo
  • LI WEI thinks this is interesting:

You can determine whether an element is inside a TSet or not by using the Find() member function on the set. The TSet will return a pointer to the entry in the TSet that matches your query if the element exists in the TSet, or it will return NULL if the element you're asking for does not exist in the TSet.

From

Cover of Learning C++ by Creating Games with UE4

Note

可以使用find来寻找,没有返回null,有则返回指针