mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 17:56:13 -04:00
dont include std headers inside our own namespace
This commit is contained in:
parent
808a9c894e
commit
4a92dde562
@ -12,8 +12,7 @@
|
||||
|
||||
#include <SQLiteCpp/Statement.h>
|
||||
|
||||
namespace SQLite
|
||||
{
|
||||
|
||||
|
||||
|
||||
//this requires c++14. seems like visual studio 2015 should work (yet untested).
|
||||
@ -22,6 +21,9 @@ namespace SQLite
|
||||
#include <utility>
|
||||
#include <initializer_list>
|
||||
|
||||
namespace SQLite
|
||||
{
|
||||
|
||||
/// implementation detail for variadic bind.
|
||||
namespace detail {
|
||||
template<class F,class ...Args, std::size_t ... I>
|
||||
@ -67,8 +69,10 @@ void bind(SQLite::Statement& s,const Args& ... args) {
|
||||
};
|
||||
detail::invoke_with_index(f, args...);
|
||||
}
|
||||
|
||||
} // namespace SQLite
|
||||
|
||||
#else
|
||||
//not supported in older c++. provide a fallback?
|
||||
#endif // c++14
|
||||
|
||||
} // namespace SQLite
|
||||
|
Loading…
x
Reference in New Issue
Block a user