This the type trait is tested by implicit "auto cast" operators. Those might be disabled for specific combinations of types.
For example, implicit casting from class AString to sibling types CString and Substring has to be forbidden, because both are also constructible implicitly from this class and hence an ambiguity between implicit cast and implicit construction would arise.
Custom classes (i.e., if derived from class TAString) might encounter similar problems. In that case, this type-traits type may be specialized to mitigate compilation issues.
TFrom | The type that allows implicit auto-casts. |
TImOrExplict | Denotes if implicit or explicit casts are suppressed. |
TTo | The destination type that auto-casts should be suppressed for. |
Definition at line 42 of file string.inl.