Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Why is it necessary to handle the requires_.empty() case? > > It's not really necessary. I just thought I avoid the loop in this (common) > case.
I do not think it matter much in terms of speed, so code should be simple. > >> What about >> using some other datastructure like map<string,bool> (there is >> probably something simpler for a set, though)? > > Why the bool? Because map require two types, doesn't it? This is why I wrote that there has to be a simpler type... JMarc