mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
rdisable warning -Wambiguous-ellipsis
This commit is contained in:
parent
ec03e6f9c0
commit
343d1ff74b
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue