no suitable user-defined conversion from utility::string_t to std::string

前端 未结 3 1937
渐次进展
渐次进展 2021-01-05 15:05

I am using the casablanca C++ Rest library to make HTTP requests.

The problem is that this gives a utility::string_t string as output and I can\'t quite find any way

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-05 15:40

    If you see the documentation for C++ REST SDK from github, you'll find a typedef

    C++ Rest SDK - utility Namespace Reference

    typedef std::string     string_t;
    

    So no need to convert it. Both are same types.

提交回复
热议问题