ALPSCore reference
Namespaces | Functions
checked_divide.hpp File Reference
#include <alps/type_traits/is_sequence.hpp>
#include <type_traits>
Include dependency graph for checked_divide.hpp:

Go to the source code of this file.

Namespaces

 alps
 
 alps::numeric
 

Functions

template<class T >
std::enable_if<!is_sequence< T >::value, T >::type alps::numeric::checked_divide (const T &a, const T &b)
 
template<class T >
std::enable_if< is_sequence< T >::value, T >::type alps::numeric::checked_divide (T a, const T &b)