templating StaticQueue