diff --git a/crypto3/libs/marshalling/core/include/nil/marshalling/options.hpp b/crypto3/libs/marshalling/core/include/nil/marshalling/options.hpp index 0f2b6cf2e..111fb520f 100644 --- a/crypto3/libs/marshalling/core/include/nil/marshalling/options.hpp +++ b/crypto3/libs/marshalling/core/include/nil/marshalling/options.hpp @@ -38,7 +38,6 @@ #include #include -#include namespace nil::crypto3 { namespace marshalling { diff --git a/crypto3/libs/marshalling/core/include/nil/marshalling/type_traits.hpp b/crypto3/libs/marshalling/core/include/nil/marshalling/type_traits.hpp index 5ea84bb43..512698e83 100644 --- a/crypto3/libs/marshalling/core/include/nil/marshalling/type_traits.hpp +++ b/crypto3/libs/marshalling/core/include/nil/marshalling/type_traits.hpp @@ -56,28 +56,6 @@ namespace nil::crypto3 { boost::is_same>::value; }; - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::bitfield. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref bitfield - /// @related nil::crypto3::marshalling::types::bitfield - template - struct is_bitfield { - static const bool value = has_type_tag>::value; - }; - - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::bitmask_value. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref bitmask_value - /// @related nil::crypto3::marshalling::types::bitmask_value - template - struct is_bitmask_value { - static const bool value = has_type_tag>::value; - }; - /// @brief Compile time check function of whether a provided type is any /// variant of nil::crypto3::marshalling::types::bundle. /// @tparam T Any type. @@ -89,28 +67,6 @@ namespace nil::crypto3 { boost::is_same>::value; }; - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::enumeration. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref enumeration - /// @related nil::crypto3::marshalling::types::enumeration - template - struct is_enumeration { - static const bool value = has_type_tag>::value; - }; - - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::float_value. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref float_value - /// @related nil::crypto3::marshalling::types::float_value - template - struct is_float_value { - static const bool value = has_type_tag>::value; - }; - /// @brief Compile time check function of whether a provided type is any /// variant of nil::crypto3::marshalling::types::integral. /// @tparam T Any type. @@ -122,28 +78,6 @@ namespace nil::crypto3 { boost::is_same>::value; }; - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::no_value. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref no_value - /// @related nil::crypto3::marshalling::types::no_value - template - struct is_no_value { - static const bool value = has_type_tag>::value; - }; - - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::optional. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref optional - /// @related nil::crypto3::marshalling::types::optional - template - struct is_optional { - static const bool value = has_type_tag>::value; - }; - /// @brief Compile time check function of whether a provided type is any /// variant of nil::crypto3::marshalling::types::string. /// @tparam T Any type. @@ -155,17 +89,6 @@ namespace nil::crypto3 { boost::is_same>::value; }; - /// @brief Compile time check function of whether a provided type is any - /// variant of nil::crypto3::marshalling::types::variant. - /// @tparam T Any type. - /// @return true in case provided type is any variant of @ref variant - /// @related nil::crypto3::marshalling::types::variant - template - struct is_variant { - static const bool value = has_type_tag>::value; - }; - template struct is_marshalling_type { static const bool value = @@ -176,8 +99,7 @@ namespace nil::crypto3 { struct is_container; template - struct is_container ::value - || is_float_value::value>::type> { + struct is_container ::value>::type> { static const bool value = false; };