OpenXLSX icon indicating copy to clipboard operation
OpenXLSX copied to clipboard

Can I use C++11 to integrate this project?

Open Eternity1987 opened this issue 2 years ago • 1 comments

Can I use C++11 to integrate this project?

XLCellValue.hpp:469:59: error: expected ',' or '>' in template-parameter-list typename std::enable_if<std::is_integral_v<T> || std::is_floating_point_v<T> || std::is_same_v<std::decay_t<T>, std::string> ||

Eternity1987 avatar Mar 17 '23 06:03 Eternity1987

This library is written using the C++17 standard, you can check it in README.md. I'm sorry to tell that it can't integrate C++11. The std::is_same_v is since C++ 17. You can check it in follow web. https://en.cppreference.com/w/cpp/types/is_same

Robinsssson avatar Jan 09 '24 02:01 Robinsssson

Unfortunately, as @Robinsssson stated, the project needs a minimum of c++17 standard. I'll close this issue now.

aral-matrix avatar Oct 02 '24 21:10 aral-matrix