С библиотекой xlnt: < /p>
Как преобразовать значение даты в std :: string? < /p>
const auto vdate = cell.value();
std::string vdates = std::string(vdate);
< /code>
Я получаю: < /p>
error: no matching function for call to ‘std::__cxx11::basic_string::basic_string(const xlnt::date&)’
4259 | std::string vdates = std::string(vdate);
error: no matching function for call to ‘std::__cxx11::basic_string::basic_string(const xlnt::date&)’
4259 | std::string vdates = static_cast(vdate);
Подробнее здесь: https://stackoverflow.com/questions/796 ... sion-error