Templated bounded set