Anyone know of a good implementation of this whose license is compatible with non-free iPhone apps?
As suggested in this question, Boost looks absolutely wonderful.
So you specifically want an objective-c solution, correct? Because, just in case you were not already aware, you can use C++ libraries within your project.