You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CMake configuration exposes cache variable CMAKE_CXX_STANDARD variable with default value 14 (see #303).
Recently, nanodbc received (optional) enhancements that require C++17 and more such may arrive soonish (e.g. support for std::variant or std::any). There is already an amount of conditionally-compiled code that we maintain (e.g. #148, #283).
The library also uses some C++ features that have been deprecated in C++17, especially the <codecvt> (see #74), so those may need to be taken care of soonish too.
Next: C++17
If you use or if you plan to use nanodbc, please help us to find out which version of the C++ standard the nanodbc library should support. Please, participate in this poll and discussion thread. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Now: C++14
Since release v2.12 (in ) nanodbc requires C++14.
The CMake configuration exposes cache variable
CMAKE_CXX_STANDARD
variable with default value14
(see #303).Recently, nanodbc received (optional) enhancements that require C++17 and more such may arrive soonish (e.g. support for
std::variant
orstd::any
). There is already an amount of conditionally-compiled code that we maintain (e.g. #148, #283).The library also uses some C++ features that have been deprecated in C++17, especially the
<codecvt>
(see #74), so those may need to be taken care of soonish too.Next: C++17
If you use or if you plan to use nanodbc, please help us to find out which version of the C++ standard the nanodbc library should support. Please, participate in this poll and discussion thread. Thanks!
/cc @lexicalunit
10 votes ·
Beta Was this translation helpful? Give feedback.
All reactions