SqliteModernCpp / sqlite_modern_cpp

The C++14 wrapper around sqlite library
MIT License
904 stars 156 forks source link

Return values instead of assigning to references #154

Closed zauguin closed 6 years ago

zauguin commented 6 years ago

Return extracted values in the type wrapper instead of assigning to references. This makes the type specific functions easier and avoids unnecessary temporaries in some situations. Compare https://github.com/SqliteModernCpp/sqlite_modern_cpp/pull/126/files#r163217134