annotate DEPENDENCIES/generic/include/boost/multiprecision/cpp_int/value_pack.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 ///////////////////////////////////////////////////////////////
Chris@16 2 // Copyright 2013 John Maddock. Distributed under the Boost
Chris@16 3 // Software License, Version 1.0. (See accompanying file
Chris@16 4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
Chris@16 5
Chris@16 6 #ifndef BOOST_MP_CPP_INT_VP_HPP
Chris@16 7 #define BOOST_MP_CPP_INT_VP_HPP
Chris@16 8
Chris@16 9 namespace boost{ namespace multiprecision{
Chris@16 10
Chris@16 11 namespace literals{ namespace detail{
Chris@16 12
Chris@16 13 template <limb_type...VALUES>
Chris@16 14 struct value_pack
Chris@16 15 {
Chris@16 16 constexpr value_pack(){}
Chris@16 17
Chris@16 18 typedef value_pack<0, VALUES...> next_type;
Chris@16 19 };
Chris@16 20 template <class T>
Chris@16 21 struct is_value_pack{ static constexpr bool value = false; };
Chris@16 22 template <limb_type...VALUES>
Chris@16 23 struct is_value_pack<value_pack<VALUES...> >{ static constexpr bool value = true; };
Chris@16 24
Chris@16 25 struct negate_tag{};
Chris@16 26
Chris@16 27 constexpr negate_tag make_negate_tag()
Chris@16 28 {
Chris@16 29 return negate_tag();
Chris@16 30 }
Chris@16 31
Chris@16 32
Chris@16 33 }}}} // namespaces
Chris@16 34
Chris@16 35 #endif // BOOST_MP_CPP_INT_CORE_HPP
Chris@16 36