From bb30ce0a091d6b180ee4cbf2853bdac9969665f0 Mon Sep 17 00:00:00 2001 From: "Jeremy W. Murphy" Date: Mon, 2 May 2016 22:08:49 +1000 Subject: [PATCH 1/9] Initial thoughts on an algebraic traits facility. --- include/boost/math/algebraic_traits.hpp | 141 ++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 include/boost/math/algebraic_traits.hpp diff --git a/include/boost/math/algebraic_traits.hpp b/include/boost/math/algebraic_traits.hpp new file mode 100644 index 000000000..f954976c4 --- /dev/null +++ b/include/boost/math/algebraic_traits.hpp @@ -0,0 +1,141 @@ +// (C) Copyright Jeremy William Murphy 2016. + +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_MATH_ALGEBRAIC_TRAITS +#define BOOST_MATH_ALGEBRAIC_TRAITS + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +namespace boost { +namespace detail { + +struct algebraic_traits_base +{ + BOOST_STATIC_CONSTANT(bool, is_specialized = false); +}; + +} // detail + + +template