dont include std headers inside our own namespace

This commit is contained in:
Paul Dreik 2016-06-15 20:39:51 +02:00
parent 808a9c894e
commit 4a92dde562

View File

@ -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