[index] Replace struct with class keyword in specialization of allocators<> for variant-based static-size node.