Original Post
Im trying to use latest version of boost. So I want to use boost fast_pool_allocator for creating std strings. So I typedef in order to get it working in the whole program: I use Xcode / GCC to compile for iPhone. The problem is now that I get these errors: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/usr/include/c++/4.0.0/bits/basic_string.h:117: error: invalid use of undefined type 'struct boost::fast_pool_allocator' /Users/lephyrius/Programmering/boost_1_39_0/boost/pool/poolfwd.hpp:69: error: declaration of 'struct boost::fast_pool_allocator' So how do I fix these errors?
typedef std::basic_string<char, std::char_traits<char>, boost::fast_pool_allocator<char> > String;