]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/distributions/geometric.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / math / distributions / geometric.hpp
index 717e6cc87ab73bb195df74bcd9e2d0a60dd0648a..9a9f0ea073e3446c56b2fae97e5b1341d43de1fc 100644 (file)
 #include <boost/math/tools/roots.hpp> // for root finding.
 #include <boost/math/distributions/detail/inv_discrete_quantile.hpp>
 
-#include <boost/type_traits/is_floating_point.hpp>
-#include <boost/type_traits/is_integral.hpp>
-#include <boost/type_traits/is_same.hpp>
-#include <boost/mpl/if.hpp>
-
 #include <limits> // using std::numeric_limits;
 #include <utility>
 
@@ -241,6 +236,11 @@ namespace boost
 
     typedef geometric_distribution<double> geometric; // Reserved name of type double.
 
+    #ifdef __cpp_deduction_guides
+    template <class RealType>
+    geometric_distribution(RealType)->geometric_distribution<typename boost::math::tools::promote_args<RealType>::type>;
+    #endif
+
     template <class RealType, class Policy>
     inline const std::pair<RealType, RealType> range(const geometric_distribution<RealType, Policy>& /* dist */)
     { // Range of permissible values for random variable k.