Regina 7.4 Calculation Engine
regina::FaithfulAssignment< From, To > Struct Template Reference

Determines if an integer of type From can always be assigned to an integer of type To with no loss of information. More...

Detailed Description

template<typename From, typename To>
struct regina::FaithfulAssignment< From, To >

Determines if an integer of type From can always be assigned to an integer of type To with no loss of information.

The result will be available through the compile-time boolean constant FaithfulAssignment<From, To>::value.

Currently this is only implemented for Regina's own integer types (Integer, LargeInteger and NativeInteger). If you attempt to use this with other types (e.g., int or long), this struct will be undefined.

Python
Not present.

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