
14 Dec
2015
14 Dec
'15
5:45 p.m.
2015-12-14 18:34 GMT+01:00 Robert Ramey
On 12/14/15 9:21 AM, Andrzej Krzemienski wrote:
2015-12-14 17:39 GMT+01:00 Robert Ramey
: Ok, I see. So, there is something more to it than just the set of values.
safe<T> does not check upon conversion from T.
I believe it does. If it doesn't it's a mistake.
It would make sense to skip the check: int i = whatever(); safe<int> si (i); // this just cannot go wrong.