-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept std::filesystem::path in Database constructor #296
Comments
That would require a minimum of C++17. I'm all for moving forward, but I would guess some might have a problem with that. As an aside, it's worth pointing out that |
That could easily be feature-guarded with the __cplusplus macro. This is already done in other places:
Nice point about the u8string, I had missed that method. |
* Add Database constructor for filesystem::path #296 * Fixed incorrect MSVC version value for C++17 * Updated another incorrect version string * Updated MSVC compiler check again. The <filesystem> header wasn't transitioned from std::experimental until MSVC 15.7 * Changed version check to look at c++ version no MSVC version
Thanks for asking, and many thanks to @ptrks for providing an implementation a few days ago |
It would be helpful if SQLiteCpp would accept a
std::filesystem::path
as the database path.That would shift some work from the users of the library to the library, since sqlitecpp would then have to take care of converting the path to utf8.
The text was updated successfully, but these errors were encountered: