summaryrefslogtreecommitdiff
path: root/boost/numeric/odeint/util/unwrap_reference.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/numeric/odeint/util/unwrap_reference.hpp')
-rw-r--r--boost/numeric/odeint/util/unwrap_reference.hpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/boost/numeric/odeint/util/unwrap_reference.hpp b/boost/numeric/odeint/util/unwrap_reference.hpp
index d622a5c007..bc7d423a09 100644
--- a/boost/numeric/odeint/util/unwrap_reference.hpp
+++ b/boost/numeric/odeint/util/unwrap_reference.hpp
@@ -31,9 +31,9 @@
namespace boost {
#if BOOST_NUMERIC_ODEINT_CXX11
-template<typename T> class reference_wrapper;
+template<typename T> struct reference_wrapper;
-template<typename T> class unwrap_reference;
+template<typename T> struct unwrap_reference;
#endif
namespace numeric {
@@ -43,24 +43,21 @@ namespace odeint {
#if BOOST_NUMERIC_ODEINT_CXX11
template<typename T>
-class unwrap_reference
+struct unwrap_reference
{
-public:
typedef typename std::remove_reference<T>::type type;
};
template<typename T>
-class unwrap_reference< std::reference_wrapper<T> >
+struct unwrap_reference< std::reference_wrapper<T> >
{
-public:
typedef typename std::remove_reference<T>::type type;
};
template<typename T>
-class unwrap_reference< boost::reference_wrapper<T> >
+struct unwrap_reference< boost::reference_wrapper<T> >
{
-public:
- typedef typename boost::unwrap_reference<T>::type type;
+ typedef typename boost::unwrap_reference<T>::type type;
};
#else