Jon Stewart on 16 Aug 2003 00:34:06 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ALACPP] compact, insane example code


> // OK, this compiles and runs. boost::lambda is INSANE!
> // Can anybody make it even more STL/boost exotic? Perhaps initializing the s
> tring vector??


I see two possible places for optimization. You could try to replace the 
uppercase() function with an in-place combo of stl algorithms and lambda 
expressions. Also, you could be really leet and work only with the initial 
c-array of strings (since pointers are iterators).



Jon
might work at this at home, mebbe
-- 
Jon Stewart                                 Advanced Los Angeles C++
stew1@xxxxxxxxxxx                           http://www.alacpp.org
_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp