Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / phoenix / operator / detail / define_operator.hpp
index cc35f1a..3de63b8 100644 (file)
@@ -44,8 +44,9 @@
         {};                                                                     \
     }                                                                           \
     template <typename Operand>                                                 \
+    inline                                                                      \
     typename result_of::BOOST_PP_CAT(make_, name)<Operand>::type                \
-    inline BOOST_PP_CAT(make_, name)(Operand const & operand)                   \
+    BOOST_PP_CAT(make_, name)(Operand const & operand)                          \
     {                                                                           \
         return functional::BOOST_PP_CAT(make_, name)()(operand);                \
     }                                                                           \
@@ -83,8 +84,9 @@
         {};                                                                     \
     }                                                                           \
     template <typename Rhs, typename Lhs>                                       \
+    inline                                                                      \
     typename result_of::BOOST_PP_CAT(make_, name)<Rhs, Lhs>::type               \
-    inline BOOST_PP_CAT(make_, name)(Lhs const & lhs, Rhs const & rhs)          \
+    BOOST_PP_CAT(make_, name)(Lhs const & lhs, Rhs const & rhs)                 \
     {                                                                           \
         return functional::BOOST_PP_CAT(make_, name)()(lhs, rhs);               \
     }                                                                           \