Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:15

0001 ///////////////////////////////////////////////////////////////
0002 //  Copyright 2013 John Maddock. Distributed under the Boost
0003 //  Software License, Version 1.0. (See accompanying file
0004 //  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
0005 
0006 #ifndef BOOST_MP_CPP_INT_VP_HPP
0007 #define BOOST_MP_CPP_INT_VP_HPP
0008 
0009 namespace boost {
0010 namespace multiprecision {
0011 
0012 namespace literals { namespace detail {
0013 
0014 template <limb_type... VALUES>
0015 struct value_pack
0016 {
0017    constexpr value_pack() {}
0018 
0019    using next_type = value_pack<0, VALUES...>;
0020 };
0021 template <class T>
0022 struct is_value_pack
0023 {
0024    static constexpr bool value = false;
0025 };
0026 template <limb_type... VALUES>
0027 struct is_value_pack<value_pack<VALUES...> >
0028 {
0029    static constexpr bool value = true;
0030 };
0031 
0032 struct negate_tag
0033 {};
0034 
0035 constexpr negate_tag make_negate_tag()
0036 {
0037    return negate_tag();
0038 }
0039 
0040 }}}} // namespace boost::multiprecision::literals::detail
0041 
0042 #endif // BOOST_MP_CPP_INT_CORE_HPP