]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/multiprecision/test/math/table_type.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / test / math / table_type.hpp
index 32ff66cb98892bbb1b8ebe4df694347d961746b3..26229745f38da9274fc23b7600263209bc143a10 100644 (file)
@@ -1,7 +1,7 @@
 ///////////////////////////////////////////////////////////////
 //  Copyright 2012 John Maddock. Distributed under the Boost
 //  Software License, Version 1.0. (See accompanying file
-//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
+//  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
 
 #ifndef BOOST_MP_TABLE_TYPE
 #define BOOST_MP_TABLE_TYPE
 
 struct string_table_entry
 {
-private:
+ private:
    const char* m_data;
-public:
+
+ public:
    string_table_entry(const char* p) : m_data(p) {}
 
    template <class T>
-   operator T () const
+   operator T() const
    {
       return static_cast<T>(m_data);
    }
 };
 
-inline std::ostream& operator << (std::ostream& os, string_table_entry const & what)
+inline std::ostream& operator<<(std::ostream& os, string_table_entry const& what)
 {
    return os << static_cast<const char*>(what);
 }
@@ -37,4 +38,3 @@ struct table_type<boost::multiprecision::number<Backend, ExpressionTemplates> >
 #define SC_(x) string_table_entry(BOOST_STRINGIZE(x))
 
 #endif
-