We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7028e80 + a53fc34 commit 4153ba4Copy full SHA for 4153ba4
libraries/eosiolib/contracts/eosio/action.hpp
@@ -455,6 +455,11 @@ namespace eosio {
455
template <typename T>
456
struct is_same<T,bool> { static constexpr bool value = std::is_integral<T>::value; };
457
458
+ // Full specialization to resolve ambiguity introduced by partial specializations
459
+ // of is_same<bool,U> and is_same<T,bool>
460
+ template <>
461
+ struct is_same<bool, bool> { static constexpr bool value = true; };
462
+
463
template <size_t N, size_t I, auto Arg, auto... Args>
464
struct get_nth_impl { static constexpr auto value = get_nth_impl<N,I+1,Args...>::value; };
465
0 commit comments