#include "llvm/ADT/SmallPtrSet.h" int main() { llvm::SmallPtrSetThis example creates a SmallPtrSet of integer pointers with a maximum size of 2. Two integer pointers are inserted into the set, and then the set is iterated through and each integer that the pointers point to is printed to the console. After that, one of the integers is removed from the set, and both of the integers are deleted from memory. Package Library: LLVM - llvm/ADTmySet; int* myInt1 = new int{5}; int* myInt2 = new int{10}; mySet.insert(myInt1); mySet.insert(myInt2); for (auto* ptr : mySet) { std::cout << *ptr << std::endl; } mySet.erase(myInt1); delete myInt1; delete myInt2; return 0; }