1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00

rdisable warning -Wambiguous-ellipsis

This commit is contained in:
bolero-MURAKAMI 2014-08-21 23:36:44 +09:00
parent ec03e6f9c0
commit 343d1ff74b

View file

@ -12,6 +12,7 @@
#include <sprout/config.hpp> #include <sprout/config.hpp>
#include <sprout/functional/type_traits/inherit_if_type.hpp> #include <sprout/functional/type_traits/inherit_if_type.hpp>
#include <sprout/workaround/base_class_construct.hpp> #include <sprout/workaround/base_class_construct.hpp>
#include <sprout/detail/predef.hpp>
namespace sprout { namespace sprout {
namespace detail { namespace detail {
@ -31,6 +32,10 @@ namespace sprout {
struct weak_result_type_impl<F const volatile> struct weak_result_type_impl<F const volatile>
: public sprout::detail::weak_result_type_impl<F> : public sprout::detail::weak_result_type_impl<F>
{}; {};
#if SPROUT_CLANG_OR_LATER(3, 6, 0)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wambiguous-ellipsis"
#endif
template<typename R, typename... Args> template<typename R, typename... Args>
struct weak_result_type_impl<R (Args...)> { struct weak_result_type_impl<R (Args...)> {
public: public:
@ -71,6 +76,9 @@ namespace sprout {
public: public:
typedef R result_type; typedef R result_type;
}; };
#if SPROUT_CLANG_OR_LATER(3, 6, 0)
# pragma clang diagnostic pop
#endif
} // namespace detail } // namespace detail
// //