Converting std::__cxx11::string to std::string

后端 未结 8 1840
春和景丽
春和景丽 2020-11-22 16:07

I use c++11, but also some libraries that are not configured for it, and need some type conversion. In particular I need a way to convert std::__cxx11::string t

8条回答
  •  情深已故
    2020-11-22 17:02

    For me -D_GLIBCXX_USE_CXX11_ABI=0 didn't help.

    It works after I linked to C++ libs version instead of gnustl.

提交回复
热议问题