Template Class ComplexWrapper¶
Defined in File complex_type.hpp
Class Documentation¶
-
template<typename T>
class ComplexWrapper¶ Public Functions
-
inline ComplexWrapper(const std::string &s)¶
-
inline ~ComplexWrapper()¶
-
inline ComplexWrapper<T> &operator=(const ComplexWrapper<T> &c) = default¶
Friends
-
inline friend ComplexWrapper<T> &operator~(ComplexWrapper<T> &lhs)¶
-
inline friend ComplexWrapper operator+=(ComplexWrapper &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator-=(ComplexWrapper &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator+(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator+(ComplexWrapper const &lhs, T const &rhs)¶
-
inline friend ComplexWrapper operator+(T const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator+(ComplexWrapper const &lhs)¶
-
inline friend ComplexWrapper operator-(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator-(ComplexWrapper const &lhs)¶
-
inline friend ComplexWrapper operator-(ComplexWrapper const &lhs, T const &rhs)¶
-
inline friend ComplexWrapper operator*(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator*(ComplexWrapper const &lhs, T const &rhs)¶
-
inline friend ComplexWrapper operator*(T const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator/(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper operator/(ComplexWrapper const &lhs, T const &rhs)¶
-
inline friend ComplexWrapper operator/(T const &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper &operator*=(ComplexWrapper &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper &operator*=(ComplexWrapper &lhs, T const &rhs)¶
-
inline friend ComplexWrapper &operator*=(T &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper &operator/=(ComplexWrapper &lhs, ComplexWrapper const &rhs)¶
-
inline friend ComplexWrapper &operator/=(ComplexWrapper &lhs, T const &rhs)¶
-
inline friend ComplexWrapper &operator/=(T &lhs, ComplexWrapper const &rhs)¶
-
inline friend bool operator==(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend bool operator!=(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend bool operator>(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend bool operator<(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend bool operator>=(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend bool operator<=(ComplexWrapper const &lhs, ComplexWrapper const &rhs)¶
-
inline friend void operator<<(std::ostream &s, ComplexWrapper<T> &lhs)¶
-
inline friend void operator>>(std::istringstream &s, ComplexWrapper<T> &rhs)¶
-
inline ComplexWrapper(const std::string &s)¶