Module wyz::conv

source · []
Expand description

Directed Type Conversion

This module provides sibling traits to the std::convert module. The standard library puts the type parameter in the trait declaration, which makes those traits generic and suitable for constraint clauses and function calls, but not usable in indeterminate method-call positions. These traits put the type parameter in the function declaration, making the trait non-generic and allowing the function to be called in method-call position without ambiguity. !

Traits

Directed Type Conversion

Directed Fallible Type Conversion