ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
Friends | List of all members
qip::Arithmetic2< T, U >

Helper template for Arithmetic operations. Derive from this to provide +,-,*,/, given +=, -=, *=, /=. Works for two different types. More...

#include <Template.hpp>

Friends

operator+ (T lhs, const U &rhs)
 
operator- (T lhs, const U &rhs)
 
operator* (T lhs, const U &rhs)
 
operator/ (T lhs, const U &rhs)
 
operator+ (const U &lhs, T rhs)
 
operator* (const U &lhs, T rhs)
 

Detailed Description

template<typename T, typename U>
class qip::Arithmetic2< T, U >

Helper template for Arithmetic operations. Derive from this to provide +,-,*,/, given +=, -=, *=, /=. Works for two different types.


The documentation for this class was generated from the following file: