0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Use clang-format to add closing namespace comments

This commit is contained in:
rbock 2017-09-10 14:56:51 +02:00
parent ac765993aa
commit 306ce63f2f
208 changed files with 250 additions and 265 deletions

View File

@ -123,6 +123,6 @@ namespace sqlpp
static_assert(is_numeric_t<wrap_operand_t<T>>::value, "avg() requires a numeric value expression as argument"); static_assert(is_numeric_t<wrap_operand_t<T>>::value, "avg() requires a numeric value expression as argument");
return {t}; return {t};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -124,6 +124,6 @@ namespace sqlpp
static_assert(is_expression_t<wrap_operand_t<T>>::value, "count() requires an expression as argument"); static_assert(is_expression_t<wrap_operand_t<T>>::value, "count() requires an expression as argument");
return {t}; return {t};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -100,6 +100,6 @@ namespace sqlpp
static_assert(is_expression_t<wrap_operand_t<T>>::value, "max() requires an expression as argument"); static_assert(is_expression_t<wrap_operand_t<T>>::value, "max() requires an expression as argument");
return {t}; return {t};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -100,6 +100,6 @@ namespace sqlpp
static_assert(is_expression_t<wrap_operand_t<T>>::value, "min() requires an expression as argument"); static_assert(is_expression_t<wrap_operand_t<T>>::value, "min() requires an expression as argument");
return {t}; return {t};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -122,6 +122,6 @@ namespace sqlpp
static_assert(is_numeric_t<wrap_operand_t<T>>::value, "sum() requires a numeric expression as argument"); static_assert(is_numeric_t<wrap_operand_t<T>>::value, "sum() requires a numeric expression as argument");
return {t}; return {t};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -70,6 +70,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -40,5 +40,5 @@ namespace sqlpp
return {*static_cast<const Expr*>(this)}; return {*static_cast<const Expr*>(this)};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -100,7 +100,7 @@ namespace sqlpp
SQLPP_ALIAS_PROVIDER(z) SQLPP_ALIAS_PROVIDER(z)
SQLPP_ALIAS_PROVIDER(left) SQLPP_ALIAS_PROVIDER(left)
SQLPP_ALIAS_PROVIDER(right) SQLPP_ALIAS_PROVIDER(right)
} } // namespace alias
} } // namespace sqlpp
#endif #endif

View File

@ -65,6 +65,6 @@ namespace sqlpp
_serialize_check{}; _serialize_check{};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -76,6 +76,6 @@ namespace sqlpp
// FIXME: can we accept non-values like NULL here? // FIXME: can we accept non-values like NULL here?
return {t}; return {t};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -77,6 +77,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -56,10 +56,10 @@ namespace sqlpp
{ {
using type = expression_alias_t<T, typename T::_auto_alias_t>; using type = expression_alias_t<T, typename T::_auto_alias_t>;
}; };
} } // namespace detail
template <typename T> template <typename T>
using auto_alias_t = typename detail::auto_alias_impl<T>::type; using auto_alias_t = typename detail::auto_alias_impl<T>::type;
} } // namespace sqlpp
#endif #endif

View File

@ -53,6 +53,6 @@ namespace sqlpp
static Context& _(const T&, Context&); static Context& _(const T&, Context&);
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -82,7 +82,7 @@ namespace sqlpp
{ {
using type = Expr<wrap_operand_t<Lhs>, wrap_operand_t<Rhs>>; using type = Expr<wrap_operand_t<Lhs>, wrap_operand_t<Rhs>>;
}; };
} } // namespace detail
template <template <typename Lhs, typename Rhs> class Expr, typename Lhs, typename Rhs> template <template <typename Lhs, typename Rhs> class Expr, typename Lhs, typename Rhs>
using comparison_expression_t = using comparison_expression_t =
typename detail::comparison_expression_impl<check_comparison_t<Lhs, Rhs>::value, Expr, Lhs, Rhs>::type; typename detail::comparison_expression_impl<check_comparison_t<Lhs, Rhs>::value, Expr, Lhs, Rhs>::type;
@ -100,7 +100,7 @@ namespace sqlpp
{ {
using type = Expr<Lhs, Rhs...>; using type = Expr<Lhs, Rhs...>;
}; };
} } // namespace detail
template <typename Check, template <typename Lhs, typename... Rhs> class Expr, typename Lhs, typename... Rhs> template <typename Check, template <typename Lhs, typename... Rhs> class Expr, typename Lhs, typename... Rhs>
using in_expression_t = typename detail::in_expression_impl<Check::value, Expr, Lhs, Rhs...>::type; using in_expression_t = typename detail::in_expression_impl<Check::value, Expr, Lhs, Rhs...>::type;
@ -300,6 +300,6 @@ namespace sqlpp
return {*static_cast<const Expr*>(this)}; return {*static_cast<const Expr*>(this)};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -78,6 +78,6 @@ namespace sqlpp
return serialize(t._expr, context); return serialize(t._expr, context);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -179,13 +179,13 @@ namespace sqlpp
template <typename Check, typename When> template <typename Check, typename When>
auto case_when_impl(Check, When when) -> inconsistent<Check>; auto case_when_impl(Check, When when) -> inconsistent<Check>;
} } // namespace detail
template <typename When> template <typename When>
auto case_when(When when) -> decltype(detail::case_when_impl(check_case_when_t<When>{}, when)) auto case_when(When when) -> decltype(detail::case_when_impl(check_case_when_t<When>{}, when))
{ {
return detail::case_when_impl(check_case_when_t<When>{}, when); return detail::case_when_impl(check_case_when_t<When>{}, when);
} }
} } // namespace sqlpp
#endif #endif

View File

@ -53,6 +53,6 @@ namespace sqlpp
template <std::size_t N, const char (&Input)[N]> template <std::size_t N, const char (&Input)[N]>
using make_char_sequence = using make_char_sequence =
typename make_char_sequence_impl<sizeof(Input), Input, sqlpp::detail::make_index_sequence<sizeof(Input)>>::type; typename make_char_sequence_impl<sizeof(Input), Input, sqlpp::detail::make_index_sequence<sizeof(Input)>>::type;
} } // namespace sqlpp
#endif #endif

View File

@ -51,7 +51,7 @@ namespace sqlpp
const auto dp = floor<days>(t); const auto dp = floor<days>(t);
return std::chrono::duration_cast<std::chrono::microseconds>(::date::make_time(t - dp).to_duration()); return std::chrono::duration_cast<std::chrono::microseconds>(::date::make_time(t - dp).to_duration());
} }
} } // namespace chrono
} } // namespace sqlpp
#endif #endif

View File

@ -129,6 +129,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -31,6 +31,6 @@ namespace sqlpp
{ {
template <typename Table, typename ColumnSpec> template <typename Table, typename ColumnSpec>
struct column_t; struct column_t;
} } // namespace sqlpp
#endif #endif

View File

@ -32,6 +32,6 @@ namespace sqlpp
struct connection struct connection
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -35,6 +35,6 @@ namespace sqlpp
{ {
static void _(){}; static void _(){};
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -289,6 +289,6 @@ namespace sqlpp
{ {
return {}; return {};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -59,7 +59,7 @@ namespace sqlpp
using _result_type_provider = typename unhide<_maybe_hidden_result_type_provider>::type; using _result_type_provider = typename unhide<_maybe_hidden_result_type_provider>::type;
using _result_methods_t = typename _result_type_provider::template _result_methods_t<_result_type_provider>; using _result_methods_t = typename _result_type_provider::template _result_methods_t<_result_type_provider>;
}; };
} } // namespace detail
template <typename Database, typename... Parts> template <typename Database, typename... Parts>
struct custom_query_t : private detail::custom_parts_t<Database, Parts...>::_result_methods_t struct custom_query_t : private detail::custom_parts_t<Database, Parts...>::_result_methods_t
@ -150,5 +150,5 @@ namespace sqlpp
return custom_query_t<Database, wrap_operand_t<Parts>...>(parts...); return custom_query_t<Database, wrap_operand_t<Parts>...>(parts...);
} }
} } // namespace sqlpp
#endif #endif

View File

@ -37,5 +37,5 @@ namespace sqlpp
struct column_operators<Column, boolean> struct column_operators<Column, boolean>
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -41,6 +41,6 @@ namespace sqlpp
}; };
using bit = sqlpp::boolean; using bit = sqlpp::boolean;
} } // namespace sqlpp
#endif #endif

View File

@ -59,6 +59,6 @@ namespace sqlpp
using check = consistent_t; using check = consistent_t;
using type = logical_not_t<wrap_operand_t<T>>; using type = logical_not_t<wrap_operand_t<T>>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -77,6 +77,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -47,6 +47,6 @@ namespace sqlpp
target._bind_boolean_parameter(index, &_value, _is_null); target._bind_boolean_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -51,6 +51,6 @@ namespace sqlpp
target._post_bind_boolean_result(index, &this->_value, &this->_is_null); target._post_bind_boolean_result(index, &this->_value, &this->_is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -38,6 +38,6 @@ namespace sqlpp
{ {
using type = boolean_operand; using type = boolean_operand;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -36,6 +36,6 @@ namespace sqlpp
{ {
static_assert(wrong_t<column_operators>::value, "Missing column operators for ValueType"); static_assert(wrong_t<column_operators>::value, "Missing column operators for ValueType");
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -40,5 +40,5 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = is_valid_operand<day_point, T>; using _is_valid_operand = is_valid_operand<day_point, T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -44,5 +44,5 @@ namespace sqlpp
}; };
using date = day_point; using date = day_point;
} } // namespace sqlpp
#endif #endif

View File

@ -38,5 +38,5 @@ namespace sqlpp
struct expression_operators<Expression, day_point> : public basic_expression_operators<Expression> struct expression_operators<Expression, day_point> : public basic_expression_operators<Expression>
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -80,5 +80,5 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -49,5 +49,5 @@ namespace sqlpp
target._bind_date_parameter(index, &_value, _is_null); target._bind_date_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -68,5 +68,5 @@ namespace sqlpp
} }
return os; return os;
} }
} } // namespace sqlpp
#endif #endif

View File

@ -41,5 +41,5 @@ namespace sqlpp
{ {
using type = day_point_operand; using type = day_point_operand;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -76,5 +76,5 @@ namespace sqlpp
return {*static_cast<const Column*>(this), {*static_cast<const Column*>(this), rhs{t}}}; return {*static_cast<const Column*>(this), {*static_cast<const Column*>(this), rhs{t}}};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -39,5 +39,5 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = is_numeric_t<T>; using _is_valid_operand = is_numeric_t<T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -82,5 +82,5 @@ namespace sqlpp
using check = consistent_t; using check = consistent_t;
using type = unary_minus_t<floating_point, wrap_operand_t<T>>; using type = unary_minus_t<floating_point, wrap_operand_t<T>>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -75,5 +75,5 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -49,5 +49,5 @@ namespace sqlpp
target._bind_floating_point_parameter(index, &_value, _is_null); target._bind_floating_point_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -52,5 +52,5 @@ namespace sqlpp
target._post_bind_floating_point_result(index, &this->_value, &this->_is_null); target._post_bind_floating_point_result(index, &this->_value, &this->_is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -39,5 +39,5 @@ namespace sqlpp
{ {
using type = floating_point_operand; using type = floating_point_operand;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -77,6 +77,6 @@ namespace sqlpp
return {*static_cast<const Column*>(this), {{*static_cast<const Column*>(this), rhs{t}}}}; return {*static_cast<const Column*>(this), {{*static_cast<const Column*>(this), rhs{t}}}};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -44,5 +44,5 @@ namespace sqlpp
using smallint = integral; using smallint = integral;
using integer = integral; using integer = integral;
using bigint = integral; using bigint = integral;
} } // namespace sqlpp
#endif #endif

View File

@ -132,5 +132,5 @@ namespace sqlpp
using check = consistent_t; using check = consistent_t;
using type = bitwise_or_t<wrap_operand_t<L>, integral, wrap_operand_t<R>>; using type = bitwise_or_t<wrap_operand_t<L>, integral, wrap_operand_t<R>>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -77,6 +77,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -47,5 +47,5 @@ namespace sqlpp
target._bind_integral_parameter(index, &_value, _is_null); target._bind_integral_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -51,5 +51,5 @@ namespace sqlpp
target._post_bind_integral_result(index, &this->_value, &this->_is_null); target._post_bind_integral_result(index, &this->_value, &this->_is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -41,5 +41,5 @@ namespace sqlpp
{ {
using type = integral_operand; using type = integral_operand;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -37,5 +37,5 @@ namespace sqlpp
struct column_operators<Base, no_value_t> struct column_operators<Base, no_value_t>
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -39,6 +39,6 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = wrong_t<T>; using _is_valid_operand = wrong_t<T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -37,6 +37,6 @@ namespace sqlpp
struct expression_operators<Expression, no_value_t> : public basic_expression_operators<Expression> struct expression_operators<Expression, no_value_t> : public basic_expression_operators<Expression>
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -27,9 +27,4 @@
#ifndef SQLPP11_DATA_TYPES_NO_VALUE_OPERAND_H #ifndef SQLPP11_DATA_TYPES_NO_VALUE_OPERAND_H
#define SQLPP11_DATA_TYPES_NO_VALUE_OPERAND_H #define SQLPP11_DATA_TYPES_NO_VALUE_OPERAND_H
namespace sqlpp
{
// There is no no_value operand
}
#endif #endif

View File

@ -27,9 +27,4 @@
#ifndef SQLPP11_DATA_TYPES_NO_VALUE_PARAMETER_VALUE_H #ifndef SQLPP11_DATA_TYPES_NO_VALUE_PARAMETER_VALUE_H
#define SQLPP11_DATA_TYPES_NO_VALUE_PARAMETER_VALUE_H #define SQLPP11_DATA_TYPES_NO_VALUE_PARAMETER_VALUE_H
namespace sqlpp
{
// There is no no_value parameter
}
#endif #endif

View File

@ -67,6 +67,6 @@ namespace sqlpp
os << "NULL"; os << "NULL";
return os; return os;
} }
} } // namespace sqlpp
#endif #endif

View File

@ -27,9 +27,4 @@
#ifndef SQLPP11_DATA_TYPES_NO_VALUE_WRAP_OPERAND_H #ifndef SQLPP11_DATA_TYPES_NO_VALUE_WRAP_OPERAND_H
#define SQLPP11_DATA_TYPES_NO_VALUE_WRAP_OPERAND_H #define SQLPP11_DATA_TYPES_NO_VALUE_WRAP_OPERAND_H
namespace sqlpp
{
// There is no no_value operand
}
#endif #endif

View File

@ -36,6 +36,6 @@ namespace sqlpp
{ {
static_assert(wrong_t<parameter_value_t>::value, "Missing parameter value type for ValueType"); static_assert(wrong_t<parameter_value_t>::value, "Missing parameter value type for ValueType");
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -94,5 +94,5 @@ namespace sqlpp
_cpp_storage_type _value; _cpp_storage_type _value;
bool _is_null; bool _is_null;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -53,5 +53,5 @@ namespace sqlpp
concat_t<Column, wrap_operand_t<T>>{*static_cast<const Column*>(this), rhs{t}}}; concat_t<Column, wrap_operand_t<T>>{*static_cast<const Column*>(this), rhs{t}}};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -98,6 +98,6 @@ namespace sqlpp
return {args...}; return {args...};
} }
} } // namespace sqlpp
#endif #endif

View File

@ -45,5 +45,5 @@ namespace sqlpp
using char_ = text; using char_ = text;
using binary = text; using binary = text;
using varbinary = text; using varbinary = text;
} } // namespace sqlpp
#endif #endif

View File

@ -76,5 +76,5 @@ namespace sqlpp
using check = consistent_t; using check = consistent_t;
using type = concat_t<wrap_operand_t<L>, wrap_operand_t<R>>; using type = concat_t<wrap_operand_t<L>, wrap_operand_t<R>>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -93,6 +93,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -78,5 +78,5 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -49,5 +49,5 @@ namespace sqlpp
target._bind_text_parameter(index, &_value, _is_null); target._bind_text_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -79,5 +79,5 @@ namespace sqlpp
return os << e.value(); return os << e.value();
} }
} }
} } // namespace sqlpp
#endif #endif

View File

@ -42,5 +42,5 @@ namespace sqlpp
{ {
using type = text_operand; using type = text_operand;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -40,5 +40,5 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = is_valid_operand<time_of_day, T>; using _is_valid_operand = is_valid_operand<time_of_day, T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -40,5 +40,5 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = is_time_of_day_t<T>; using _is_valid_operand = is_time_of_day_t<T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -39,5 +39,5 @@ namespace sqlpp
struct expression_operators<Expression, time_of_day> : public basic_expression_operators<Expression> struct expression_operators<Expression, time_of_day> : public basic_expression_operators<Expression>
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -79,5 +79,5 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -49,5 +49,5 @@ namespace sqlpp
target._bind_time_of_day_parameter(index, &_value, _is_null); target._bind_time_of_day_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -68,5 +68,5 @@ namespace sqlpp
} }
return os; return os;
} }
} } // namespace sqlpp
#endif #endif

View File

@ -37,5 +37,5 @@ namespace sqlpp
{ {
using type = time_of_day_operand<std::chrono::duration<Rep, Period>>; using type = time_of_day_operand<std::chrono::duration<Rep, Period>>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -40,5 +40,5 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = is_valid_operand<time_point, T>; using _is_valid_operand = is_valid_operand<time_point, T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -40,5 +40,5 @@ namespace sqlpp
template <typename T> template <typename T>
using _is_valid_operand = is_day_or_time_point_t<T>; using _is_valid_operand = is_day_or_time_point_t<T>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -39,5 +39,5 @@ namespace sqlpp
struct expression_operators<Expression, time_point> : public basic_expression_operators<Expression> struct expression_operators<Expression, time_point> : public basic_expression_operators<Expression>
{ {
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -82,5 +82,5 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -49,5 +49,5 @@ namespace sqlpp
target._bind_date_time_parameter(index, &_value, _is_null); target._bind_date_time_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -71,5 +71,5 @@ namespace sqlpp
} }
return os; return os;
} }
} } // namespace sqlpp
#endif #endif

View File

@ -37,5 +37,5 @@ namespace sqlpp
{ {
using type = time_point_operand<Period>; using type = time_point_operand<Period>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -77,6 +77,6 @@ namespace sqlpp
return {*static_cast<const Column*>(this), {{*static_cast<const Column*>(this), rhs{t}}}}; return {*static_cast<const Column*>(this), {{*static_cast<const Column*>(this), rhs{t}}}};
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -44,5 +44,5 @@ namespace sqlpp
using smallint_unsigned = unsigned_integral; using smallint_unsigned = unsigned_integral;
using integer_unsigned = unsigned_integral; using integer_unsigned = unsigned_integral;
using bigint_unsigned = unsigned_integral; using bigint_unsigned = unsigned_integral;
} } // namespace sqlpp
#endif #endif

View File

@ -113,5 +113,5 @@ namespace sqlpp
using check = consistent_t; using check = consistent_t;
using type = bitwise_or_t<wrap_operand_t<L>, unsigned_integral, wrap_operand_t<R>>; using type = bitwise_or_t<wrap_operand_t<L>, unsigned_integral, wrap_operand_t<R>>;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -77,6 +77,6 @@ namespace sqlpp
return context; return context;
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -47,5 +47,5 @@ namespace sqlpp
target._bind_unsigned_integral_parameter(index, &_value, _is_null); target._bind_unsigned_integral_parameter(index, &_value, _is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -51,5 +51,5 @@ namespace sqlpp
target._post_bind_unsigned_integral_result(index, &this->_value, &this->_is_null); target._post_bind_unsigned_integral_result(index, &this->_value, &this->_is_null);
} }
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -41,5 +41,5 @@ namespace sqlpp
{ {
using type = unsigned_integral_operand; using type = unsigned_integral_operand;
}; };
} } // namespace sqlpp
#endif #endif

View File

@ -56,6 +56,6 @@ namespace sqlpp
}; };
constexpr default_value_t default_value = {}; constexpr default_value_t default_value = {};
} } // namespace sqlpp
#endif #endif

View File

@ -84,7 +84,7 @@ namespace sqlpp
{ {
return std::tuple_cat(as_column_tuple<Columns>::_(columns)...); return std::tuple_cat(as_column_tuple<Columns>::_(columns)...);
} }
} } // namespace detail
} } // namespace sqlpp
#endif #endif

View File

@ -35,7 +35,7 @@ namespace sqlpp
{ {
template <bool B, typename T = void> template <bool B, typename T = void>
using enable_if_t = typename std::enable_if<B, T>::type; using enable_if_t = typename std::enable_if<B, T>::type;
} } // namespace detail
} } // namespace sqlpp
#endif #endif

View File

@ -80,7 +80,7 @@ namespace sqlpp
template <std::size_t StartIndex, typename... Fields> template <std::size_t StartIndex, typename... Fields>
using make_field_index_sequence = using make_field_index_sequence =
typename make_field_index_sequence_impl<field_index_sequence<StartIndex>, Fields...>::type; typename make_field_index_sequence_impl<field_index_sequence<StartIndex>, Fields...>::type;
} } // namespace detail
} } // namespace sqlpp
#endif #endif

View File

@ -51,7 +51,7 @@ namespace sqlpp
template <template <typename> class Predicate, typename Default, typename... T> template <template <typename> class Predicate, typename Default, typename... T>
using get_first_if = typename get_first_if_impl<Predicate, Default, T...>::type; using get_first_if = typename get_first_if_impl<Predicate, Default, T...>::type;
} } // namespace detail
} } // namespace sqlpp
#endif #endif

View File

@ -51,7 +51,7 @@ namespace sqlpp
template <template <typename> class Predicate, typename Default, typename... T> template <template <typename> class Predicate, typename Default, typename... T>
using get_last_if = typename get_last_if_impl<Predicate, Default, T...>::type; using get_last_if = typename get_last_if_impl<Predicate, Default, T...>::type;
} } // namespace detail
} } // namespace sqlpp
#endif #endif

View File

@ -57,7 +57,7 @@ namespace sqlpp
template <std::size_t N> template <std::size_t N>
using make_index_sequence = typename make_index_sequence_impl<index_sequence<>, N>::type; using make_index_sequence = typename make_index_sequence_impl<index_sequence<>, N>::type;
} } // namespace detail
} } // namespace sqlpp
#endif #endif

View File

@ -51,7 +51,7 @@ namespace sqlpp
{ {
return pick_arg_impl<Target>(statement, term, std::is_same<typename Target::_data_t, Term>()); return pick_arg_impl<Target>(statement, term, std::is_same<typename Target::_data_t, Term>());
} }
} } // namespace detail
} } // namespace sqlpp
#endif #endif

Some files were not shown because too many files have changed in this diff Show More