This question already has an answer here:
I have some doubts about using
ing-verb in the following case:
Such data structures don't allow insretion/inserting/to insert any kind of objects.
Is it considered grammatically correct to say that in all three ways? I'm not sure about
ing-verb because I didn't find that we can use it in that way. For instance, there.