ampsci
High-precision calculations for one- and two-valence atomic systems
qip::Arithmetic< T >

ok

template<typename T>
class qip::Arithmetic< T >

Helper template that provides +, -, *, / given +=, -=, *=, /=.

Derive publicly from this (with T = your class) and implement the compound-assignment operators; the binary operators are provided automatically.

#include <Template.hpp>

+ Inheritance diagram for qip::Arithmetic< T >:

Friends

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

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