From 83d5147cd1191ef27859f90500e05361ded4ed29 Mon Sep 17 00:00:00 2001 From: rbock Date: Sat, 3 Sep 2016 12:35:40 +0200 Subject: [PATCH] Add begin/end to portable static assert to make error messages a bit shorter --- include/sqlpp11/portable_static_assert.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sqlpp11/portable_static_assert.h b/include/sqlpp11/portable_static_assert.h index b0a8036c..c7cbdcfb 100644 --- a/include/sqlpp11/portable_static_assert.h +++ b/include/sqlpp11/portable_static_assert.h @@ -40,6 +40,8 @@ namespace sqlpp { \ static_assert(wrong_t::value, message); \ } \ + auto begin() const -> void; \ + auto end() const -> void; \ } namespace detail