`instantiate` EnumerableSet from OpenZeppelin Contracts 2.5

Henrique asked on Telegram:

Hello, everyone.

I’m trying to use the new EnumerableSet from oz@2.5.

However, I am not able to “instantiate” it.

How is the exact syntax to use it as a storage variable for another contract?

In the RC version there was a helper method to instantiate it, but I saw that it was removed in the final version

@nventuro answered:

there is no need to ‘instantiate’ a new one: just declare a state variable and start using it. The default values will be correct :slight_smile: