簡體   English   中英

"錯誤:“std::chars_format”尚未聲明"

[英]error: ‘std::chars_format’ has not been declared

我的代碼的最小部分如下:

#include <charconv>
#include <string_view>
#include <cmath>

int main() {

    return 0;
}

double strparse(std::string_view s, int field, int a, int b) {
    double candidates[3];
    auto format = std::chars_format::fixed;
    return 0;
}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM