aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/STLUtil.hh
AgeCommit message (Collapse)AuthorFilesLines
2012-01-04Pre-increment non-primitive types.Ryan Pavlik1-1/+1
Found with cppcheck: "Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code."
2010-09-15code deduplication by using <algorithm> and FbTk/STLUtil.hhMathias Gumz1-0/+27
2010-03-19Added SelectArg and MemFunSelectArg*Henrik Kinnunen1-0/+19
The MemFunSelectArg* functions can be used to select a specific argument from a signal. For example this would select the string argument as argument to the callback: Signal<void, int, float, string> signal; signal.connect(MemFunSelectArg2(obj, &Object::takesOneStringArg)); signal.emit(10, 3.14, "hello"); ... void Object::takesOneStringArg(const string& value) { ... }
2008-04-21some fixes for gcc 3.4Thomas Orgis1-2/+2
2007-12-28move STLUtil to FbTkMark Tiefenbruck1-0/+55