Skip to main content

Module conv

Module conv 

Source
Expand description

Type conversion algorithms.

Implementation of the conversion_rank algorithm and utilities to convert Types and Instances using automatic conversions.

Traits§

Convert

Functions§

conversion_rank
Implements the conversion rank algorithm
convert
Performs overload resolution when two instances of T are involved (which is the most common). it just makes sure that the two instance types are the same. This is sufficient in most cases.
convert_all
See convert
convert_all_inner_to
See convert
convert_all_to
See convert
convert_all_ty
Performs overload resolution (find the type that all others can be automatically converted to)
convert_inner
See convert
convert_ty
Performs overload resolution when two instances of T are involved (which is the most common). it just makes sure that the two types are the same. This is sufficient in most cases.