Regina 7.0 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:

Copyright © 1999-2021, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).