* @relatesalso ProductType
*/
template <typename T, typename U>
-typename ProductType<std::complex<T>, std::complex<U>>::type inline
+inline typename ProductType<std::complex<T>, std::complex<U>>::type
operator*(const std::complex<T> &left, const std::complex<U> &right)
{
using result_type =
* @relatesalso ProductType
*/
template <typename T, typename U>
-typename ProductType<std::complex<T>, std::complex<U>>::type inline
+inline typename ProductType<std::complex<T>, std::complex<U>>::type
operator/(const std::complex<T> &left, const std::complex<U> &right)
{
using result_type =
* @relatesalso ProductType
*/
template <typename T, typename U>
-typename ProductType<std::complex<T>,
- typename EnableIfScalar<U>::type>::type inline
-operator*(const std::complex<T> &left, const U &right)
+inline
+ typename ProductType<std::complex<T>, typename EnableIfScalar<U>::type>::type
+ operator*(const std::complex<T> &left, const U &right)
{
using result_type = typename ProductType<std::complex<T>, U>::type;
return static_cast<result_type>(left) * static_cast<result_type>(right);
* @relatesalso ProductType
*/
template <typename T, typename U>
-typename ProductType<std::complex<T>,
- typename EnableIfScalar<U>::type>::type inline
-operator/(const std::complex<T> &left, const U &right)
+inline
+ typename ProductType<std::complex<T>, typename EnableIfScalar<U>::type>::type
+ operator/(const std::complex<T> &left, const U &right)
{
using result_type = typename ProductType<std::complex<T>, U>::type;
return static_cast<result_type>(left) / static_cast<result_type>(right);
* @relatesalso ProductType
*/
template <typename T, typename U>
-typename ProductType<typename EnableIfScalar<T>::type,
- std::complex<U>>::type inline
-operator*(const T &left, const std::complex<U> &right)
+inline
+ typename ProductType<typename EnableIfScalar<T>::type, std::complex<U>>::type
+ operator*(const T &left, const std::complex<U> &right)
{
using result_type = typename ProductType<std::complex<T>, U>::type;
return static_cast<result_type>(left) * static_cast<result_type>(right);
* @relatesalso ProductType
*/
template <typename T, typename U>
-typename ProductType<typename EnableIfScalar<T>::type,
- std::complex<U>>::type inline
-operator/(const T &left, const std::complex<U> &right)
+inline
+ typename ProductType<typename EnableIfScalar<T>::type, std::complex<U>>::type
+ operator/(const T &left, const std::complex<U> &right)
{
using result_type = typename ProductType<std::complex<T>, U>::type;
return static_cast<result_type>(left) / static_cast<result_type>(right);