IOS 无法解析 报错std::basic_string/std::string::find

IOS 编译报错:

Undefined symbols for architecture i386:

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const", referenced from:

      TagLib::String::find(TagLib::String const&, int) const in MobileVLCKit(tstring.cpp.o)

      TagLib::String::split(TagLib::String const&) const in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::rfind(wchar_t const*, unsigned long, unsigned long) const", referenced from:

      TagLib::String::rfind(TagLib::String const&, int) const in MobileVLCKit(tstring.cpp.o)

  "std::string::find(char const*, unsigned long, unsigned long) const", referenced from:

      dash::xml::DOMParser::isDash(stream_t*) in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      dash::xml::DOMParser::getProfile() in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseSegment(dash::xml::Node*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::IsoffMainParser::setInitSegment(dash::xml::Node*, dash::mpd::SegmentBase*) in MobileVLCKit(libdash_plugin_la-IsoffMainParser.o)

      dash::mpd::IsoffMainParser::setSegments(dash::xml::Node*, dash::mpd::SegmentList*) in MobileVLCKit(libdash_plugin_la-IsoffMainParser.o)

      dash::mpd::SegmentTemplate::setSourceUrl(std::string const&) in MobileVLCKit(libdash_plugin_la-SegmentTemplate.o)

      ...

  "std::string::find(char, unsigned long) const", referenced from:

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

  "std::string::rfind(char, unsigned long) const", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::Helper::getDirectoryPath(std::string const&) in MobileVLCKit(libdash_plugin_la-Helper.o)

  "std::string::compare(char const*) const", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_chapter_c::PublishChapters(input_title_t&, int&, int) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      chapter_item_c::GetCodecName(bool) const in MobileVLCKit(libmkv_plugin_la-chapters.o)

      dash::mpd::BasicCMParser::setMPD() in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setAdaptationSet(dash::xml::Node*, dash::mpd::Period*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseSegment(dash::xml::Node*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      ...

  "std::string::compare(unsigned long, unsigned long, char const*) const", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      dash::http::Chunk::setUrl(std::string const&) in MobileVLCKit(libdash_plugin_la-Chunk.o)

  "std::string::compare(unsigned long, unsigned long, std::string const&) const", referenced from:

      matroska_script_interpretor_c::Interpret(unsigned char const*, unsigned long) in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

  "std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from:

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::SegmentTemplate::getSourceUrl() const in MobileVLCKit(libdash_plugin_la-SegmentTemplate.o)

      dash::mpd::Segment::toChunk() in MobileVLCKit(libdash_plugin_la-Segment.o)

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      libebml::IOCallback::writeFully(void const*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::IOCallback::readFully(void*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::MemIOCallback::MemIOCallback(unsigned long long) in MobileVLCKit(MemIOCallback.o)

      ...

  "std::basic_ios<char, std::char_traits<char> >::widen(char) const", referenced from:

      dash::mpd::BasicCMParser::setMPD() in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseSegmentTimeline(dash::xml::Node*, dash::mpd::SegmentInfoCommon*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setInitSegment(dash::xml::Node*, dash::mpd::SegmentInfoCommon*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setRepresentations(dash::xml::Node*, dash::mpd::AdaptationSet*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseTrickMode(dash::xml::Node*, dash::mpd::Representation*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setSegmentInfo(dash::xml::Node*, dash::mpd::Representation*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      ...

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_leak_hard()", referenced from:

      TagLib::String::String(std::string const&, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromLatin1(char const*, unsigned long) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromUTF8(char const*, unsigned long) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromUTF16(wchar_t const*, unsigned long, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(char const*, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(TagLib::ByteVector const&, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromUTF16(char const*, unsigned long, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      ...

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&)", referenced from:

      TagLib::String::substr(unsigned int, unsigned int) const in MobileVLCKit(tstring.cpp.o)

      TagLib::String::stripWhiteSpace() const in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator=(wchar_t const*) in MobileVLCKit(tstring.cpp.o)

      wchar_t* std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct<__gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >(__gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, std::allocator<wchar_t> const&, std::forward_iterator_tag) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::StringPrivate::~StringPrivate() in MobileVLCKit(tstring.cpp.o)

      TagLib::String::StringPrivate::~StringPrivate() in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_terminal", referenced from:

      TagLib::String::upper() const in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(char const*) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(wchar_t) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(char) in MobileVLCKit(tstring.cpp.o)

      wchar_t* std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct<__gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >(__gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, std::allocator<wchar_t> const&, std::forward_iterator_tag) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_empty_rep_storage", referenced from:

      TagLib::String::String() in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String() in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(std::string const&, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(wchar_t const*, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(char const*, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(wchar_t, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      ...

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<wchar_t> const&)", referenced from:

      wchar_t* std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct<__gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >(__gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, std::allocator<wchar_t> const&, std::forward_iterator_tag) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(wchar_t const*, unsigned long)", referenced from:

      TagLib::String::operator+=(wchar_t const*) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)", referenced from:

      TagLib::String::append(TagLib::String const&) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(TagLib::String const&) in MobileVLCKit(tstring.cpp.o)

      operator+(TagLib::String const&, TagLib::String const&) in MobileVLCKit(tstring.cpp.o)

      operator+(char const*, TagLib::String const&) in MobileVLCKit(tstring.cpp.o)

      operator+(TagLib::String const&, char const*) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned long, wchar_t)", referenced from:

      TagLib::String::String(std::string const&, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromLatin1(char const*, unsigned long) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromUTF8(char const*, unsigned long) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromUTF16(wchar_t const*, unsigned long, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(char const*, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::String(TagLib::ByteVector const&, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::copyFromUTF16(char const*, unsigned long, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      ...

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned long)", referenced from:

      TagLib::String::upper() const in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(char const*) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(wchar_t) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator+=(char) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&)", referenced from:

      TagLib::String::operator=(wchar_t const*) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)", referenced from:

      TagLib::String::toWString() const in MobileVLCKit(tstring.cpp.o)

      TagLib::String::detach() in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator=(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator=(wchar_t const*) in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long, unsigned long)", referenced from:

      TagLib::String::substr(unsigned int, unsigned int) const in MobileVLCKit(tstring.cpp.o)

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(unsigned long, wchar_t, std::allocator<wchar_t> const&)", referenced from:

      TagLib::String::String(char, TagLib::String::Type) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator=(char) in MobileVLCKit(tstring.cpp.o)

      TagLib::String::operator=(wchar_t) in MobileVLCKit(tstring.cpp.o)

  "std::istream::operator>>(int&)", referenced from:

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

  "std::ostream::put(char)", referenced from:

      dash::mpd::BasicCMParser::setMPD() in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseSegmentTimeline(dash::xml::Node*, dash::mpd::SegmentInfoCommon*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setInitSegment(dash::xml::Node*, dash::mpd::SegmentInfoCommon*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setRepresentations(dash::xml::Node*, dash::mpd::AdaptationSet*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseTrickMode(dash::xml::Node*, dash::mpd::Representation*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setSegmentInfo(dash::xml::Node*, dash::mpd::Representation*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      ...

  "std::ostream::flush()", referenced from:

      dash::mpd::BasicCMParser::setMPD() in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseSegmentTimeline(dash::xml::Node*, dash::mpd::SegmentInfoCommon*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setInitSegment(dash::xml::Node*, dash::mpd::SegmentInfoCommon*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setRepresentations(dash::xml::Node*, dash::mpd::AdaptationSet*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::parseTrickMode(dash::xml::Node*, dash::mpd::Representation*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::setSegmentInfo(dash::xml::Node*, dash::mpd::Representation*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      ...

  "std::ostream& std::ostream::_M_insert<void const*>(void const*)", referenced from:

      libebml::IOCallback::writeFully(void const*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::IOCallback::readFully(void*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::StdIOCallback::setFilePointer(long long, libebml::seek_mode) in MobileVLCKit(StdIOCallback.o)

      libebml::StdIOCallback::close() in MobileVLCKit(StdIOCallback.o)

  "std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)", referenced from:

      libebml::IOCallback::writeFully(void const*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::IOCallback::readFully(void*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::StdIOCallback::setFilePointer(long long, libebml::seek_mode) in MobileVLCKit(StdIOCallback.o)

  "std::ostream& std::ostream::_M_insert<long long>(long long)", referenced from:

      dash::mpd::SegmentTemplate::getSourceUrl() const in MobileVLCKit(libdash_plugin_la-SegmentTemplate.o)

  "std::ostream& std::ostream::_M_insert<unsigned long long>(unsigned long long)", referenced from:

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

  "std::ostream::operator<<(int)", referenced from:

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      libebml::StdIOCallback::setFilePointer(long long, libebml::seek_mode) in MobileVLCKit(StdIOCallback.o)

      dash::http::HTTPConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-HTTPConnection.o)

  "std::string::_M_leak_hard()", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      TagLib::String::to8Bit(bool) const in MobileVLCKit(tstring.cpp.o)

      matroska_script_interpretor_c::Interpret(unsigned char const*, unsigned long) in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      TagLib::debugData(TagLib::ByteVector const&) in MobileVLCKit(tdebug.cpp.o)

      libebml::UTFstring::UpdateFromUTF8() in MobileVLCKit(EbmlUnicodeString.o)

  "std::string::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)", referenced from:

      TagLib::debugData(TagLib::ByteVector const&) in MobileVLCKit(tdebug.cpp.o)

  "std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

  "std::string::_Rep::_S_terminal", referenced from:

      matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

  "std::string::_Rep::_S_empty_rep_storage", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::~demux_sys_t() in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      demux_sys_t::PreloadLinked() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      libebml::EDocType::~EDocType() in MobileVLCKit(libmkv_plugin_la-demux.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      ...

      ...

  "std::string::append(char const*, unsigned long)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      dvd_chapter_codec_c::GetCodecName(bool) const in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      dvd_command_interpretor_c::GetRegTypeName(bool, unsigned short) const in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      libebml::EbmlMaster::FindAllMissingElements() in MobileVLCKit(EbmlMaster.o)

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      ...

  "std::string::append(std::string const&)", referenced from:

      dash::mpd::BasicCMParser::parseSegment(dash::xml::Node*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      dash::http::HTTPConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-HTTPConnection.o)

      dash::Helper::combinePaths(std::string const&, std::string const&) in MobileVLCKit(libdash_plugin_la-Helper.o)

  "std::string::append(std::string const&, unsigned long, unsigned long)", referenced from:

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

  "std::string::append(unsigned long, char)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

  "std::string::assign(char const*, unsigned long)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      dvd_chapter_codec_c::GetCodecName(bool) const in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      dvd_command_interpretor_c::GetRegTypeName(bool, unsigned short) const in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      libebml::EbmlMaster::FindAllMissingElements() in MobileVLCKit(EbmlMaster.o)

      libebml::EbmlString::ReadData(libebml::IOCallback&, libebml::ScopeMode) in MobileVLCKit(EbmlString.o)

      libebml::UTFstring::UpdateFromUCS2() in MobileVLCKit(EbmlUnicodeString.o)

      ...

  "std::string::assign(std::string const&)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      virtual_chapter_c::PublishChapters(input_title_t&, int&, int) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      dash::xml::DOMParser::getProfile() in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      TagLib::String::toCString(bool) const in MobileVLCKit(tstring.cpp.o)

      dash::mpd::Representation::setId(std::string const&) in MobileVLCKit(libdash_plugin_la-Representation.o)

      chapter_item_c::GetCodecName(bool) const in MobileVLCKit(libmkv_plugin_la-chapters.o)

      dash::mpd::BasicCMParser::parseSegment(dash::xml::Node*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      ...

  "std::string::resize(unsigned long, char)", referenced from:

      TagLib::String::to8Bit(bool) const in MobileVLCKit(tstring.cpp.o)

  "std::string::replace(unsigned long, unsigned long, char const*, unsigned long)", referenced from:

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::SegmentTemplate::getSourceUrl() const in MobileVLCKit(libdash_plugin_la-SegmentTemplate.o)

  "std::string::reserve(unsigned long)", referenced from:

      matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      dash::mpd::BasicCMParser::BasicCMParser(dash::xml::Node*, stream_t*) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      dash::http::HTTPConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-HTTPConnection.o)

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      virtual_segment_c::virtual_segment_c(std::vector<matroska_segment_c*, std::allocator<matroska_segment_c*> >*) in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      virtual_edition_c::GetMainName() in MobileVLCKit(libmkv_plugin_la-virtual_segment.o)

      dash::xml::DOMParser::processNode() in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      dash::xml::DOMParser::addAttributesToNode(dash::xml::Node*) in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      dash::xml::DOMParser::getProfile() in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      libmatroska::KaxTrackLanguage::KaxTrackLanguage() in MobileVLCKit(KaxSemantic.o)

      ...

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&)", referenced from:

      dash::xml::DOMParser::isDash(stream_t*) in MobileVLCKit(libdash_plugin_la-DOMParser.o)

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool) in MobileVLCKit(libmkv_plugin_la-demux.o)

      matroska_segment_c::ParseSimpleTags(libmatroska::KaxTagSimple*, int) in MobileVLCKit(libmkv_plugin_la-matroska_segment.o)

      dash::xml::DOMParser::getProfile() in MobileVLCKit(libdash_plugin_la-DOMParser.o)

      matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry*) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      matroska_segment_c::ParseAttachments(libmatroska::KaxAttachments*) in MobileVLCKit(libmkv_plugin_la-matroska_segment_parse.o)

      ...

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long)", referenced from:

      Open(vlc_object_t*) in MobileVLCKit(libmkv_plugin_la-mkv.o)

      matroska_script_interpretor_c::Interpret(unsigned char const*, unsigned long) in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::IsoffMainParser::setInitSegment(dash::xml::Node*, dash::mpd::SegmentBase*) in MobileVLCKit(libdash_plugin_la-IsoffMainParser.o)

      dash::mpd::IsoffMainParser::setSegments(dash::xml::Node*, dash::mpd::SegmentList*) in MobileVLCKit(libdash_plugin_la-IsoffMainParser.o)

      dash::http::HTTPConnection::sendData(std::string const&) in MobileVLCKit(libdash_plugin_la-HTTPConnection.o)

      dash::http::HTTPConnection::parseHeader() in MobileVLCKit(libdash_plugin_la-HTTPConnection.o)

      ...

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:

      TagLib::FileStream::FileStream(char const*, bool) in MobileVLCKit(tfilestream.cpp.o)

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:

      __GLOBAL__I_a in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      __GLOBAL__I_a in MobileVLCKit(libdash_plugin_la-Node.o)

      __GLOBAL__I_a in MobileVLCKit(libmkv_plugin_la-chapter_command.o)

      __GLOBAL__I_a in MobileVLCKit(libdash_plugin_la-Node.o)

  "std::runtime_error::runtime_error(std::string const&)", referenced from:

      libebml::IOCallback::writeFully(void const*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::IOCallback::readFully(void*, unsigned long) in MobileVLCKit(IOCallback.o)

  "std::runtime_error::runtime_error(std::string const&)", referenced from:

      libebml::CRTError::CRTError(int, std::string const&) in MobileVLCKit(StdIOCallback.o)

      libebml::CRTError::CRTError(std::string const&, int) in MobileVLCKit(StdIOCallback.o)

  "std::_List_node_base::hook(std::_List_node_base*)", referenced from:

      TagLib::List<TagLib::ID3v2::Frame*>::detach() in MobileVLCKit(libtaglib_plugin_la-taglib.o)

      std::list<TagLib::String, std::allocator<TagLib::String> >::_M_insert(std::_List_iterator<TagLib::String>, TagLib::String const&) in MobileVLCKit(libtaglib_plugin_la-taglib.o)

      std::list<TagLib::ASF::Attribute, std::allocator<TagLib::ASF::Attribute> >::_M_insert(std::_List_iterator<TagLib::ASF::Attribute>, TagLib::ASF::Attribute const&) in MobileVLCKit(libtaglib_plugin_la-taglib.o)

      std::list<TagLib::String, std::allocator<TagLib::String> >::_M_insert(std::_List_iterator<TagLib::String>, TagLib::String const&) in MobileVLCKit(tstringlist.cpp.o)

      std::list<TagLib::String, std::allocator<TagLib::String> >::_M_insert(std::_List_iterator<TagLib::String>, TagLib::String const&) in MobileVLCKit(apetag.cpp.o)

      std::list<TagLib::String, std::allocator<TagLib::String> >::_M_insert(std::_List_iterator<TagLib::String>, TagLib::String const&) in MobileVLCKit(apeitem.cpp.o)

      std::list<TagLib::ASF::Attribute, std::allocator<TagLib::ASF::Attribute> >::_M_insert(std::_List_iterator<TagLib::ASF::Attribute>, TagLib::ASF::Attribute const&) in MobileVLCKit(asftag.cpp.o)

      ...

  "std::_List_node_base::unhook()", referenced from:

      TagLib::Ogg::XiphComment::removeField(TagLib::String const&, TagLib::String const&) in MobileVLCKit(xiphcomment.cpp.o)

      TagLib::FLAC::File::removePicture(TagLib::FLAC::Picture*, bool) in MobileVLCKit(flacfile.cpp.o)

      TagLib::ID3v2::Tag::removeFrame(TagLib::ID3v2::Frame*, bool) in MobileVLCKit(id3v2tag.cpp.o)

      TagLib::Tag::setProperties(TagLib::PropertyMap const&) in MobileVLCKit(tag.cpp.o)

      TagLib::Mod::Tag::setProperties(TagLib::PropertyMap const&) in MobileVLCKit(modtag.cpp.o)

  "std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)", referenced from:

      void std::list<TagLib::String, std::allocator<TagLib::String> >::insert<std::_List_const_iterator<TagLib::String> >(std::_List_iterator<TagLib::String>, std::_List_const_iterator<TagLib::String>, std::_List_const_iterator<TagLib::String>) in MobileVLCKit(tstringlist.cpp.o)

      void std::list<TagLib::MP4::Atom*, std::allocator<TagLib::MP4::Atom*> >::insert<std::_List_const_iterator<TagLib::MP4::Atom*> >(std::_List_iterator<TagLib::MP4::Atom*>, std::_List_const_iterator<TagLib::MP4::Atom*>, std::_List_const_iterator<TagLib::MP4::Atom*>) in MobileVLCKit(mp4atom.cpp.o)

  "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)", referenced from:

      dash::mpd::Segment::toChunk() in MobileVLCKit(libdash_plugin_la-Segment.o)

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      libebml::IOCallback::writeFully(void const*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::IOCallback::readFully(void*, unsigned long) in MobileVLCKit(IOCallback.o)

      libebml::MemIOCallback::MemIOCallback(unsigned long long) in MobileVLCKit(MemIOCallback.o)

      libebml::StdIOCallback::StdIOCallback(char const*, open_mode) in MobileVLCKit(StdIOCallback.o)

      libebml::StdIOCallback::close() in MobileVLCKit(StdIOCallback.o)

      ...

  "std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::string const&, std::_Ios_Openmode)", referenced from:

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::handleDependencyId(dash::mpd::Representation*, dash::mpd::AdaptationSet const*, std::string const&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

  "std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced from:

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::SegmentTemplate::getSourceUrl() const in MobileVLCKit(libdash_plugin_la-SegmentTemplate.o)

      libebml::StdIOCallback::setFilePointer(long long, libebml::seek_mode) in MobileVLCKit(StdIOCallback.o)

  "std::locale::~locale()", referenced from:

      dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::handleDependencyId(dash::mpd::Representation*, dash::mpd::AdaptationSet const*, std::string const&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::BasicCMParser::resolveUrlTemplates(std::string&, bool&) in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

      dash::mpd::SegmentTemplate::getSourceUrl() const in MobileVLCKit(libdash_plugin_la-SegmentTemplate.o)

      dash::mpd::Segment::toChunk() in MobileVLCKit(libdash_plugin_la-Segment.o)

      dash::http::PersistentConnection::prepareRequest(dash::http::Chunk*) in MobileVLCKit(libdash_plugin_la-PersistentConnection.o)

      libebml::IOCallback::writeFully(void const*, unsigned long) in MobileVLCKit(IOCallback.o)

      ...

  "std::ios_base::Init::Init()", referenced from:


解决办法:将libstdc++.dylib换成libstdc++.6.0.9.dylib即可

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 7
    评论
可以通过对 std::basic_ios<char> 模板类进行特化来实现对 sync_with_stdio 函数的特化。 下面是一个示例代码: ``` #include <iostream> template<typename CharT, typename Traits> class MyBasicIOS : public std::basic_ios<CharT, Traits> { public: // 特化 sync_with_stdio 函数 void sync_with_stdio(bool sync) override { std::cout << "MyBasicIOS::sync_with_stdio(bool) is called!" << std::endl; std::basic_ios<CharT, Traits>::sync_with_stdio(sync); } }; // 定义 MyStream 类型,继承自 MyBasicIOS 类型 template<typename CharT, typename Traits> class MyStream : public MyBasicIOS<CharT, Traits>, public std::basic_istream<CharT, Traits> { public: // 构造函数 MyStream(std::basic_streambuf<CharT, Traits>* sb) : std::basic_ios<CharT, Traits>(), std::basic_istream<CharT, Traits>(sb) { // 将 std::ios_base::sync_with_stdio(false) 设为默认值 this->sync_with_stdio(false); } }; // 定义 MyStream 类型的别名 MyIStream,使用 char 类型的字符和默认的 Traits using MyIStream = MyStream<char, std::char_traits<char>>; int main() { MyIStream myin(std::cin.rdbuf()); myin.sync_with_stdio(true); // 调用特化后的 sync_with_stdio 函数 return 0; } ``` 在上面的代码中,我们定义了一个 MyBasicIOS 类,继承自 std::basic_ios 类,然后特化了其中的 sync_with_stdio 函数。接着,我们定义了一个 MyStream 类,继承自 MyBasicIOSstd::basic_istream 类,并在构造函数中设置了默认值。最后,我们定义了一个 MyIStream 类型的别名,使用 char 类型的字符和默认的 Traits。在 main 函数中,我们创建了一个 MyIStream 对象 myin,并调用了它的 sync_with_stdio 函数,这会调用特化后的函数。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值