// UDPClient using the list's template, and shared_ptr typedef UDPClient CUDPClient; typedef boost::shared_ptr < CUDPClient > PtrUDPClient; // Key pair typedef std::pair UDPKeyClientPair; std::map ClientMap; std::map::iterator ClientMapIterator; // -> compile error //error C2146: syntax error : missing ';' before identifier 'ClientMapIterator'