From ccc1ffc950eb39f077d1642feb74ce915e38eb04 Mon Sep 17 00:00:00 2001 From: bergmann Date: Sun, 7 Jul 2019 23:05:56 +0200 Subject: [PATCH] * Removed unneeded file --- .../impl/driver_impl/modifier_tags.inl | 65 ------------------- 1 file changed, 65 deletions(-) delete mode 100644 include/cpphibernate/driver/mariadb/impl/driver_impl/modifier_tags.inl diff --git a/include/cpphibernate/driver/mariadb/impl/driver_impl/modifier_tags.inl b/include/cpphibernate/driver/mariadb/impl/driver_impl/modifier_tags.inl deleted file mode 100644 index 9766356..0000000 --- a/include/cpphibernate/driver/mariadb/impl/driver_impl/modifier_tags.inl +++ /dev/null @@ -1,65 +0,0 @@ -#pragma once - -namespace cpphibernate { -namespace mariadb { - - namespace __impl - { - - /* make_modifier_tags_impl */ - - template - struct make_modifier_tag_impl - { - template - static constexpr decltype(auto) apply(T_args&&... args) - { static_assert(sizeof...(args) == -1, "Invalid parameters for make_modifier_tag(...)!"); } - }; - - template - struct make_modifier_tag_impl< - mp::list, - mp::enable_if_c< - modifier::is_limit_modifier>::value - || modifier::is_offset>::value>> - { - static constexpr decltype(auto) apply(T_modifier&&) - { return T_modifier { }; } - }; - - } - - constexpr decltype(auto) make_modifier_tag = mp::generic_predicate<__impl::make_modifier_tag_impl> { }; - - namespace __impl - { - - /* make_modifier_tags_impl */ - - template - struct make_modifier_tags_impl - { - template - static constexpr decltype(auto) apply(T_args&&... args) - { static_assert(sizeof...(args) == -1, "Invalid parameters for make_modifier_tags(...)!"); } - }; - - template - struct make_modifier_tags_impl< - mp::list, - mp::enable_if_c< - modifier::is_modifiers>::value>> - { - static constexpr decltype(auto) apply(T_modifiers&& modifiers) - { - return hana::transform( - modifiers, - make_modifier_tag); - } - }; - - } - - constexpr decltype(auto) make_modifier_tags = mp::generic_predicate<__impl::make_modifier_tags_impl> { }; - -} }