|
cli11
|
Matches types brace-constructible from C without narrowing.
More...
Matches types brace-constructible from C without narrowing.
Brace initialisation is deliberate: it rejects narrowing conversions, so a type taking double is not treated as taking int. Move-assignability is required because the conversion machinery assigns the result.
| T | The type to construct. |
| C | The type to construct it from. |