From: Joel R. <jo...@gm...> - 2009-02-26 07:43:12
|
Carl, Doesn't this impose a burden at runtime compared to the original approach of lowercasing when the values are inserted? Plus, you are still filling in lower-case values. Thanks, Joel On Feb 26, 2009, at 4:25 AM, Carl Barron wrote: > this approach requires entries added in lower case but no need for > no_case[ ]'s > > struct no_case_here > { > template <class Char> > Char operator () (Char x) > { > // convert x to lower case > } > }; --- http://tinyco.de Mac Trading Apps |