From 7b09b2c7959801e13e05dbf0c0cc81b3dc31c274 Mon Sep 17 00:00:00 2001 From: James Folberth Date: Sun, 6 Feb 2022 00:11:21 -0700 Subject: [PATCH] provide overload in test_dist_deduction_guides.cpp for GCC-8 --- test/test_dist_deduction_guides.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test_dist_deduction_guides.cpp b/test/test_dist_deduction_guides.cpp index ac8f0b133f..f169d85d21 100644 --- a/test/test_dist_deduction_guides.cpp +++ b/test/test_dist_deduction_guides.cpp @@ -54,6 +54,14 @@ void test_deduction_guide(Types... types) static_assert(std::is_same::value); } +// GCC-8 doesn't like deduction guides + empty variadic template? Handjam this overload +template class DistType, class PromType = double> +void test_deduction_guide() +{ + DistType d; + static_assert(std::is_same::value); +} + int main() { using namespace boost::math;