C++ on iPhone: Part 1a

Upon completing a followup article to part 1 in this series on C++ for the iPhone, I realized that the article was not really very iPhone specific, and was more of a generic C++ article.

That being the case, I’ve rewritten the article and posted on my site here. The article pertains to some interesting static initialization ordering issues wrt C++ in general.

That being said, I did originate the article with examples running in Xcode, and I can report that the behavior I observed running the same code on the iPhone device was identical to that seen running on MSVC. This is really just a long-winded way of saying that once again, the iPhone demonstrates the “expected” behavior when running C++ code (even if the expected behavior is not what you might initially expect!).