Compile [2024-11-14 06:43:06 UTC]: fail
"g++-6" -fvisibility-inlines-hidden -std=c++11 -fPIC -m64 -pthread -O0 -fno-inline -Wall -fvisibility=hidden -Wno-missing-braces -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTAINER_DYN_LINK=1 -DBOOST_CONTAINER_NO_LIB=1 -DBOOST_RANDOM_DYN_LINK=1 -DBOOST_RANDOM_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_LIB=1 -I".." -I"../libs/math/include_private" -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/container/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/integer/include" -I"/var/boost/run/boost_root/libs/intrusive/include" -I"/var/boost/run/boost_root/libs/lexical_cast/include" -I"/var/boost/run/boost_root/libs/math/include" -I"/var/boost/run/boost_root/libs/move/include" -I"/var/boost/run/boost_root/libs/mp11/include" -I"/var/boost/run/boost_root/libs/predef/include" -I"/var/boost/run/boost_root/libs/random/include" -I"/var/boost/run/boost_root/libs/system/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/type_traits/include" -I"/var/boost/run/boost_root/libs/variant2/include" -I"/var/boost/run/boost_root/libs/winapi/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/math/example/policy_ref_snip8.test/gcc-6~c++11/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/policy_ref_snip8.o" "../libs/math/example/policy_ref_snip8.cpp"
In file included from ../boost/math/distributions/negative_binomial.hpp:47:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math requires C++14" [-Wcpp]
# warning "Boost.Math requires C++14"
^~~~~~~
In file included from ../boost/math/special_functions/beta.hpp:15:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/tools/type_traits.hpp:208:12: error: 'std::is_final' has not been declared
using std::is_final;
^~~~~~~~
../boost/math/tools/type_traits.hpp:259:12: error: 'std::remove_cv_t' has not been declared
using std::remove_cv_t;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:261:12: error: 'std::remove_const_t' has not been declared
using std::remove_const_t;
^~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:263:12: error: 'std::remove_volatile_t' has not been declared
using std::remove_volatile_t;
^~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:265:12: error: 'std::add_cv_t' has not been declared
using std::add_cv_t;
^~~~~~~~
../boost/math/tools/type_traits.hpp:267:12: error: 'std::add_const_t' has not been declared
using std::add_const_t;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:269:12: error: 'std::add_volatile_t' has not been declared
using std::add_volatile_t;
^~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:273:12: error: 'std::remove_reference_t' has not been declared
using std::remove_reference_t;
^~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:275:12: error: 'std::add_lvalue_reference_t' has not been declared
using std::add_lvalue_reference_t;
^~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:277:12: error: 'std::add_rvalue_reference_t' has not been declared
using std::add_rvalue_reference_t;
^~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:281:12: error: 'std::remove_pointer_t' has not been declared
using std::remove_pointer_t;
^~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:283:12: error: 'std::add_pointer_t' has not been declared
using std::add_pointer_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:287:12: error: 'std::make_signed_t' has not been declared
using std::make_signed_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:289:12: error: 'std::make_unsigned_t' has not been declared
using std::make_unsigned_t;
^~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:293:12: error: 'std::remove_extent_t' has not been declared
using std::remove_extent_t;
^~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:295:12: error: 'std::remove_all_extents_t' has not been declared
using std::remove_all_extents_t;
^~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:299:12: error: 'std::decay_t' has not been declared
using std::decay_t;
^~~~~~~
../boost/math/tools/type_traits.hpp:301:12: error: 'std::enable_if_t' has not been declared
using std::enable_if_t;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:303:12: error: 'std::conditional_t' has not been declared
using std::conditional_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:305:12: error: 'std::common_type_t' has not been declared
using std::common_type_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:307:12: error: 'std::underlying_type_t' has not been declared
using std::underlying_type_t;
^~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:315:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_void_v = boost::math::is_void<T>::value;
^~~~~~~~~
../boost/math/tools/type_traits.hpp:318:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_null_pointer_v = boost::math::is_null_pointer<T>::value;
^~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:321:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_integral_v = boost::math::is_integral<T>::value;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:324:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_floating_point_v = boost::math::is_floating_point<T>::value;
^~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:327:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_array_v = boost::math::is_array<T>::value;
^~~~~~~~~~
../boost/math/tools/type_traits.hpp:330:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_enum_v = boost::math::is_enum<T>::value;
^~~~~~~~~
../boost/math/tools/type_traits.hpp:333:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_union_v = boost::math::is_union<T>::value;
^~~~~~~~~~
../boost/math/tools/type_traits.hpp:336:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_class_v = boost::math::is_class<T>::value;
^~~~~~~~~~
../boost/math/tools/type_traits.hpp:339:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_function_v = boost::math::is_function<T>::value;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:342:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_pointer_v = boost::math::is_pointer<T>::value;
^~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:345:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_lvalue_reference_v = boost::math::is_lvalue_reference<T>::value;
^~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:348:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_rvalue_reference_v = boost::math::is_rvalue_reference<T>::value;
^~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:351:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_member_object_pointer_v = boost::math::is_member_object_pointer<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:354:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_member_function_pointer_v = boost::math::is_member_function_pointer<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:357:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_fundamental_v = boost::math::is_fundamental<T>::value;
^~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:360:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_arithmetic_v = boost::math::is_arithmetic<T>::value;
^~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:363:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_scalar_v = boost::math::is_scalar<T>::value;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:366:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_object_v = boost::math::is_object<T>::value;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:369:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_compound_v = boost::math::is_compound<T>::value;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:372:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_reference_v = boost::math::is_reference<T>::value;
^~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:375:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_member_pointer_v = boost::math::is_member_pointer<T>::value;
^~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:378:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_const_v = boost::math::is_const<T>::value;
^~~~~~~~~~
../boost/math/tools/type_traits.hpp:381:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_volatile_v = boost::math::is_volatile<T>::value;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:384:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivial_v = boost::math::is_trivial<T>::value;
^~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:387:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_copyable_v = boost::math::is_trivially_copyable<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:390:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_standard_layout_v = boost::math::is_standard_layout<T>::value;
^~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:393:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_empty_v = boost::math::is_empty<T>::value;
^~~~~~~~~~
../boost/math/tools/type_traits.hpp:396:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_polymorphic_v = boost::math::is_polymorphic<T>::value;
^~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:399:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_abstract_v = boost::math::is_abstract<T>::value;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:402:47: error: 'is_final' is not a member of 'boost::math'
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^~~~~
../boost/math/tools/type_traits.hpp:402:70: error: expected primary-expression before '>' token
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^
../boost/math/tools/type_traits.hpp:402:71: error: '::value' has not been declared
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^~
../boost/math/tools/type_traits.hpp:402:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^~~~~~~~~~
../boost/math/tools/type_traits.hpp:405:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_signed_v = boost::math::is_signed<T>::value;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:408:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_unsigned_v = boost::math::is_unsigned<T>::value;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:411:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_constructible_v = boost::math::is_constructible<T, Args...>::value;
^~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:414:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_constructible_v = boost::math::is_trivially_constructible<T, Args...>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:417:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_constructible_v = boost::math::is_nothrow_constructible<T, Args...>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:420:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_default_constructible_v = boost::math::is_default_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:423:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_default_constructible_v = boost::math::is_trivially_default_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/special_functions/beta.hpp:15:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/tools/type_traits.hpp:426:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_default_constructible_v = boost::math::is_nothrow_default_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:429:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_copy_constructible_v = boost::math::is_copy_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:432:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_copy_constructible_v = boost::math::is_trivially_copy_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:435:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_copy_constructible_v = boost::math::is_nothrow_copy_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:438:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_move_constructible_v = boost::math::is_move_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:441:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_move_constructible_v = boost::math::is_trivially_move_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:444:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_move_constructible_v = boost::math::is_nothrow_move_constructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:447:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_assignable_v = boost::math::is_assignable<T, U>::value;
^~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:450:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_assignable_v = boost::math::is_trivially_assignable<T, U>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:453:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_assignable_v = boost::math::is_nothrow_assignable<T, U>::value;
^~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:456:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_copy_assignable_v = boost::math::is_copy_assignable<T>::value;
^~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:459:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_copy_assignable_v = boost::math::is_trivially_copy_assignable<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:462:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_copy_assignable_v = boost::math::is_nothrow_copy_assignable<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:465:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_move_assignable_v = boost::math::is_move_assignable<T>::value;
^~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:468:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_move_assignable_v = boost::math::is_trivially_move_assignable<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:471:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_move_assignable_v = boost::math::is_nothrow_move_assignable<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:474:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_destructible_v = boost::math::is_destructible<T>::value;
^~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:477:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_destructible_v = boost::math::is_trivially_destructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:480:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_destructible_v = boost::math::is_nothrow_destructible<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:483:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool has_virtual_destructor_v = boost::math::has_virtual_destructor<T>::value;
^~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:486:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_same_v = boost::math::is_same<T, U>::value;
^~~~~~~~~
../boost/math/tools/type_traits.hpp:489:34: warning: variable templates only available with -std=c++14 or -std=gnu++14
BOOST_MATH_INLINE_CONSTEXPR bool is_base_of_v = boost::math::is_base_of<T, U>::value;
^~~~~~~~~~~~
In file included from ../boost/math/special_functions/beta.hpp:20:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/tools/promotion.hpp:90:36: error: 'common_type_t' in namespace 'boost::math' does not name a template type
using type = boost::math::common_type_t<T1, T2, float>;
^~~~~~~~~~~~~
In file included from ../boost/math/special_functions/gamma.hpp:30:0,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/trunc.hpp:324:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<boost::math::is_constructible_v<int, T>, int>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:331:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<!boost::math::is_constructible_v<int, T>, int>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:339:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<boost::math::is_constructible_v<long, T>, long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:346:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<!boost::math::is_constructible_v<long, T>, long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:354:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:361:53: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:361:64: error: expected unqualified-id before '<' token
BOOST_MATH_GPU_ENABLED inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^
../boost/math/special_functions/trunc.hpp:369:76: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline boost::math::enable_if_t<boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:376:85: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:376:96: error: expected unqualified-id before '<' token
BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^
In file included from ../boost/math/special_functions/detail/polygamma.hpp:24:0,
from ../boost/math/special_functions/polygamma.hpp:15,
from ../boost/math/special_functions/gamma.hpp:42,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/pow.hpp:126:79: error: redeclaration 'constexpr typename boost::math::tools::promote_args<T2>::type boost::math::pow(T, const Policy&)' differs in 'constexpr'
BOOST_MATH_GPU_ENABLED constexpr inline typename tools::promote_args<T>::type pow(T base, const Policy& policy)
^~~
In file included from ../boost/math/special_functions/gamma.hpp:28:0,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/math_fwd.hpp:1173:79: error: from previous declaration 'boost::math::tools::promote_args_t<T> boost::math::pow(T, const Policy&)'
BOOST_MATH_GPU_ENABLED BOOST_MATH_CXX14_CONSTEXPR tools::promote_args_t<T> pow(T base, const Policy& policy);
^~~
In file included from ../boost/math/special_functions/detail/polygamma.hpp:24:0,
from ../boost/math/special_functions/polygamma.hpp:15,
from ../boost/math/special_functions/gamma.hpp:42,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/pow.hpp:133:79: error: redeclaration 'constexpr typename boost::math::tools::promote_args<T2>::type boost::math::pow(T)' differs in 'constexpr'
BOOST_MATH_GPU_ENABLED constexpr inline typename tools::promote_args<T>::type pow(T base)
^~~
In file included from ../boost/math/special_functions/gamma.hpp:28:0,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/math_fwd.hpp:1176:79: error: from previous declaration 'boost::math::tools::promote_args_t<T> boost::math::pow(T)'
BOOST_MATH_GPU_ENABLED BOOST_MATH_CXX14_CONSTEXPR tools::promote_args_t<T> pow(T base);
^~~
In file included from ../boost/math/special_functions/beta.hpp:20:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/tools/promotion.hpp: In instantiation of 'struct boost::math::tools::promote_args_permissive<double, double, boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >':
../boost/math/tools/promotion.hpp:119:70: required from 'struct boost::math::tools::promote_args<double, double, boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >'
../boost/math/tools/promotion.hpp:129:66: required by substitution of 'template<class ... Args> using promote_args_t = typename boost::math::tools::promote_args::type [with Args = {double, double, boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>}]'
../boost/math/special_functions/beta.hpp:1622:4: required by substitution of 'template<class RT1, class RT2, class A> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::beta(RT1, RT2, A) [with RT1 = double; RT2 = double; A = boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]'
../boost/math/special_functions/binomial.hpp:47:55: required from 'T boost::math::binomial_coefficient(unsigned int, unsigned int, const Policy&) [with T = double; Policy = boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]'
../boost/math/special_functions/binomial.hpp:71:124: required from here
../boost/math/tools/promotion.hpp:108:23: error: no type named 'type' in 'struct boost::math::tools::pa2_integral_already_removed<double, double, true>'
>::type;
^
In file included from ../boost/math/special_functions/beta.hpp:32:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/binomial.hpp: In instantiation of 'T boost::math::binomial_coefficient(unsigned int, unsigned int, const Policy&) [with T = double; Policy = boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]':
../boost/math/special_functions/binomial.hpp:71:124: required from here
../boost/math/special_functions/binomial.hpp:47:55: error: no matching function for call to 'beta(double, double, const boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>&)'
result = static_cast<T>(k * boost::math::beta(static_cast<T>(k), static_cast<T>(n-k+1), pol));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1631:4: note: candidate: template<class RT1, class RT2> boost::math::tools::promote_args_t<RT1, RT2> boost::math::beta(RT1, RT2)
beta(RT1 a, RT2 b)
^~~~
../boost/math/special_functions/beta.hpp:1631:4: note: template argument deduction/substitution failed:
In file included from ../boost/math/special_functions/beta.hpp:32:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/binomial.hpp:47:55: note: candidate expects 2 arguments, 3 provided
result = static_cast<T>(k * boost::math::beta(static_cast<T>(k), static_cast<T>(n-k+1), pol));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1622:4: note: candidate: template<class RT1, class RT2, class A> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::beta(RT1, RT2, A)
beta(RT1 a, RT2 b, A arg)
^~~~
../boost/math/special_functions/beta.hpp:1622:4: note: substitution of deduced template arguments resulted in errors seen above
../boost/math/special_functions/beta.hpp:1638:4: note: candidate: template<class RT1, class RT2, class RT3, class Policy> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::beta(RT1, RT2, RT3, const Policy&)
beta(RT1 a, RT2 b, RT3 x, const Policy&)
^~~~
../boost/math/special_functions/beta.hpp:1638:4: note: template argument deduction/substitution failed:
In file included from ../boost/math/special_functions/beta.hpp:32:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/binomial.hpp:47:55: note: candidate expects 4 arguments, 3 provided
result = static_cast<T>(k * boost::math::beta(static_cast<T>(k), static_cast<T>(n-k+1), pol));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/math/special_functions/binomial.hpp:49:61: error: no matching function for call to 'beta(double, double, const boost::math::policies::policy<boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>&)'
result = static_cast<T>((n - k) * boost::math::beta(static_cast<T>(k+1), static_cast<T>(n-k), pol));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1631:4: note: candidate: template<class RT1, class RT2> boost::math::tools::promote_args_t<RT1, RT2> boost::math::beta(RT1, RT2)
beta(RT1 a, RT2 b)
^~~~
../boost/math/special_functions/beta.hpp:1631:4: note: template argument deduction/substitution failed:
In file included from ../boost/math/special_functions/beta.hpp:32:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/binomial.hpp:49:61: note: candidate expects 2 arguments, 3 provided
result = static_cast<T>((n - k) * boost::math::beta(static_cast<T>(k+1), static_cast<T>(n-k), pol));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1622:4: note: candidate: template<class RT1, class RT2, class A> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::beta(RT1, RT2, A)
beta(RT1 a, RT2 b, A arg)
^~~~
../boost/math/special_functions/beta.hpp:1622:4: note: template argument deduction/substitution failed:
../boost/math/special_functions/beta.hpp:1638:4: note: candidate: template<class RT1, class RT2, class RT3, class Policy> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::beta(RT1, RT2, RT3, const Policy&)
beta(RT1 a, RT2 b, RT3 x, const Policy&)
^~~~
../boost/math/special_functions/beta.hpp:1638:4: note: template argument deduction/substitution failed:
In file included from ../boost/math/special_functions/beta.hpp:32:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/binomial.hpp:49:61: note: candidate expects 4 arguments, 3 provided
result = static_cast<T>((n - k) * boost::math::beta(static_cast<T>(k+1), static_cast<T>(n-k), pol));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/special_functions/beta.hpp:20:0,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/tools/promotion.hpp: In instantiation of 'struct boost::math::tools::promote_args_permissive<double, double>':
../boost/math/tools/promotion.hpp:119:70: required from 'struct boost::math::tools::promote_args<double, double>'
../boost/math/tools/promotion.hpp:129:66: required by substitution of 'template<class ... Args> using promote_args_t = typename boost::math::tools::promote_args::type [with Args = {double, double}]'
../boost/math/special_functions/powm1.hpp:83:4: required by substitution of 'template<class T1, class T2, class Policy> boost::math::tools::promote_args_t<RT1, RT2> boost::math::powm1(T1, T2, const Policy&) [with T1 = double; T2 = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]'
../boost/math/distributions/negative_binomial.hpp:551:36: required from 'RealType boost::math::quantile(const boost::math::complemented2_type<boost::math::negative_binomial_distribution<RealType, Policy>, RealType>&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]'
../libs/math/example/policy_ref_snip8.cpp:25:57: required from here
../boost/math/tools/promotion.hpp:108:23: error: no type named 'type' in 'struct boost::math::tools::pa2_integral_already_removed<double, double, true>'
>::type;
^
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp: In instantiation of 'RealType boost::math::quantile(const boost::math::complemented2_type<boost::math::negative_binomial_distribution<RealType, Policy>, RealType>&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]':
../libs/math/example/policy_ref_snip8.cpp:25:57: required from here
../boost/math/distributions/negative_binomial.hpp:551:36: error: no matching function for call to 'powm1(double, double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >)'
if (-Q <= boost::math::powm1(dist.success_fraction(), dist.successes(), Policy()))
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/special_functions/gamma.hpp:31:0,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/powm1.hpp:75:4: note: candidate: template<class T1, class T2> boost::math::tools::promote_args_t<RT1, RT2> boost::math::powm1(T1, T2)
powm1(const T1 a, const T2 z)
^~~~~
../boost/math/special_functions/powm1.hpp:75:4: note: template argument deduction/substitution failed:
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp:551:36: note: candidate expects 2 arguments, 3 provided
if (-Q <= boost::math::powm1(dist.success_fraction(), dist.successes(), Policy()))
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/special_functions/gamma.hpp:31:0,
from ../boost/math/special_functions/beta.hpp:22,
from ../boost/math/distributions/negative_binomial.hpp:52,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/powm1.hpp:83:4: note: candidate: template<class T1, class T2, class Policy> boost::math::tools::promote_args_t<RT1, RT2> boost::math::powm1(T1, T2, const Policy&)
powm1(const T1 a, const T2 z, const Policy& pol)
^~~~~
../boost/math/special_functions/powm1.hpp:83:4: note: substitution of deduced template arguments resulted in errors seen above
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp: In instantiation of 'RealType boost::math::pdf(const boost::math::negative_binomial_distribution<RealType, Policy>&, const RealType&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]':
../boost/math/distributions/detail/derived_accessors.hpp:115:14: required from 'typename Distribution::value_type boost::math::pdf(const Distribution&, const RealType&) [with Distribution = boost::math::negative_binomial_distribution<double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> > >; RealType = int; typename Distribution::value_type = double]'
../boost/math/distributions/detail/inv_discrete_quantile.hpp:562:16: required from 'typename Dist::value_type boost::math::detail::inverse_discrete_quantile(const Dist&, const typename Dist::value_type&, bool, const typename Dist::value_type&, const typename Dist::value_type&, const typename Dist::value_type&, const boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u>&, uintmax_t&) [with Dist = boost::math::negative_binomial_distribution<double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> > >; typename Dist::value_type = double; uintmax_t = long unsigned int]'
../boost/math/distributions/negative_binomial.hpp:499:47: required from 'RealType boost::math::quantile(const boost::math::negative_binomial_distribution<RealType, Policy>&, const RealType&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]'
../libs/math/example/policy_ref_snip8.cpp:23:45: required from here
../boost/math/distributions/negative_binomial.hpp:359:46: error: no matching function for call to 'ibeta_derivative(double&, double, double&, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >)'
result = (p/(r + k)) * ibeta_derivative(r, static_cast<RealType>(k+1), p, Policy());
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1740:4: note: candidate: template<class RT1, class RT2, class RT3> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::ibeta_derivative(RT1, RT2, RT3)
ibeta_derivative(RT1 a, RT2 b, RT3 x)
^~~~~~~~~~~~~~~~
../boost/math/special_functions/beta.hpp:1740:4: note: template argument deduction/substitution failed:
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp:359:46: note: candidate expects 3 arguments, 4 provided
result = (p/(r + k)) * ibeta_derivative(r, static_cast<RealType>(k+1), p, Policy());
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1724:4: note: candidate: template<class RT1, class RT2, class RT3, class Policy> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::ibeta_derivative(RT1, RT2, RT3, const Policy&)
ibeta_derivative(RT1 a, RT2 b, RT3 x, const Policy&)
^~~~~~~~~~~~~~~~
../boost/math/special_functions/beta.hpp:1724:4: note: template argument deduction/substitution failed:
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp: In instantiation of 'RealType boost::math::cdf(const boost::math::complemented2_type<boost::math::negative_binomial_distribution<RealType, Policy>, RealType>&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]':
../boost/math/distributions/detail/inv_discrete_quantile.hpp:303:68: required from 'typename Dist::value_type boost::math::detail::round_to_floor(const Dist&, typename Dist::value_type, typename Dist::value_type, bool) [with Dist = boost::math::negative_binomial_distribution<double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> > >; typename Dist::value_type = double]'
../boost/math/distributions/detail/inv_discrete_quantile.hpp:569:25: required from 'typename Dist::value_type boost::math::detail::inverse_discrete_quantile(const Dist&, const typename Dist::value_type&, bool, const typename Dist::value_type&, const typename Dist::value_type&, const typename Dist::value_type&, const boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u>&, uintmax_t&) [with Dist = boost::math::negative_binomial_distribution<double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> > >; typename Dist::value_type = double; uintmax_t = long unsigned int]'
../boost/math/distributions/negative_binomial.hpp:499:47: required from 'RealType boost::math::quantile(const boost::math::negative_binomial_distribution<RealType, Policy>&, const RealType&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]'
../libs/math/example/policy_ref_snip8.cpp:23:45: required from here
../boost/math/distributions/negative_binomial.hpp:419:35: error: no matching function for call to 'ibetac(double&, double, double&, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >)'
RealType probability = ibetac(r, static_cast<RealType>(k+1), p, Policy());
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1717:4: note: candidate: template<class RT1, class RT2, class RT3> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::ibetac(RT1, RT2, RT3)
ibetac(RT1 a, RT2 b, RT3 x)
^~~~~~
../boost/math/special_functions/beta.hpp:1717:4: note: template argument deduction/substitution failed:
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp:419:35: note: candidate expects 3 arguments, 4 provided
RealType probability = ibetac(r, static_cast<RealType>(k+1), p, Policy());
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1701:4: note: candidate: template<class RT1, class RT2, class RT3, class Policy> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::ibetac(RT1, RT2, RT3, const Policy&)
ibetac(RT1 a, RT2 b, RT3 x, const Policy&)
^~~~~~
../boost/math/special_functions/beta.hpp:1701:4: note: template argument deduction/substitution failed:
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp: In instantiation of 'RealType boost::math::cdf(const boost::math::negative_binomial_distribution<RealType, Policy>&, const RealType&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]':
../boost/math/distributions/detail/inv_discrete_quantile.hpp:303:93: required from 'typename Dist::value_type boost::math::detail::round_to_floor(const Dist&, typename Dist::value_type, typename Dist::value_type, bool) [with Dist = boost::math::negative_binomial_distribution<double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> > >; typename Dist::value_type = double]'
../boost/math/distributions/detail/inv_discrete_quantile.hpp:569:25: required from 'typename Dist::value_type boost::math::detail::inverse_discrete_quantile(const Dist&, const typename Dist::value_type&, bool, const typename Dist::value_type&, const typename Dist::value_type&, const typename Dist::value_type&, const boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u>&, uintmax_t&) [with Dist = boost::math::negative_binomial_distribution<double, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> > >; typename Dist::value_type = double; uintmax_t = long unsigned int]'
../boost/math/distributions/negative_binomial.hpp:499:47: required from 'RealType boost::math::quantile(const boost::math::negative_binomial_distribution<RealType, Policy>&, const RealType&) [with RealType = double; Policy = boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >]'
../libs/math/example/policy_ref_snip8.cpp:23:45: required from here
../boost/math/distributions/negative_binomial.hpp:386:35: error: no matching function for call to 'ibeta(double&, double, double&, boost::math::policies::policy<boost::math::policies::discrete_quantile<(boost::math::policies::discrete_quantile_policy_type)5u> >)'
RealType probability = ibeta(r, static_cast<RealType>(k+1), p, Policy());
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1694:4: note: candidate: template<class RT1, class RT2, class RT3> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::ibeta(RT1, RT2, RT3)
ibeta(RT1 a, RT2 b, RT3 x)
^~~~~
../boost/math/special_functions/beta.hpp:1694:4: note: template argument deduction/substitution failed:
In file included from ../libs/math/example/policy_ref_snip8.cpp:12:0:
../boost/math/distributions/negative_binomial.hpp:386:35: note: candidate expects 3 arguments, 4 provided
RealType probability = ibeta(r, static_cast<RealType>(k+1), p, Policy());
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../boost/math/distributions/negative_binomial.hpp:52:0,
from ../libs/math/example/policy_ref_snip8.cpp:12:
../boost/math/special_functions/beta.hpp:1678:4: note: candidate: template<class RT1, class RT2, class RT3, class Policy> boost::math::tools::promote_args_t<RT1, RT2, A> boost::math::ibeta(RT1, RT2, RT3, const Policy&)
ibeta(RT1 a, RT2 b, RT3 x, const Policy&)
^~~~~
../boost/math/special_functions/beta.hpp:1678:4: note: template argument deduction/substitution failed: