Regina 7.4.1 Calculation Engine
regina::RingTraits< T > Struct Template Reference

A helper class that instructs Regina how to do mathematical operations with objects from any ring type T. More...

Detailed Description

template<typename T>
struct regina::RingTraits< T >

A helper class that instructs Regina how to do mathematical operations with objects from any ring type T.

Before specialising RingTraits<T>, you should ensure that T satisfies the following requirements:

The type RingTraits<T> should then provide:

Regina specialises RingTraits for its own ring-like classes where this makes sense (e.g., Regina's own integer, rational and polynomial classes), and also provides implementations for native C++ signed integer and floating point types.

Python
Not present.

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