diff --git a/include/SQLiteCpp/VariadicBind.h b/include/SQLiteCpp/VariadicBind.h index 2448230..8cce653 100644 --- a/include/SQLiteCpp/VariadicBind.h +++ b/include/SQLiteCpp/VariadicBind.h @@ -12,8 +12,7 @@ #include -namespace SQLite -{ + //this requires c++14. seems like visual studio 2015 should work (yet untested). @@ -22,6 +21,9 @@ namespace SQLite #include #include +namespace SQLite +{ + /// implementation detail for variadic bind. namespace detail { template @@ -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