sscanfを使用して、ブースト日を持つ文字列を分離しようとしています。コードは次のとおりです。
std::sscanf(ss.c_str(),"%ls\t%lf\t%lf",&date1_,&num1_,&num2_);
次のエラーが発生します。
warning: format ‘%ls’ expects type ‘wchar_t*’, but argument 3 has type ‘boost::gregorian::date*’
誰かが私にこれの修正を提案できますか?どうも!