style: use .value() rather than implicit conv

The implicit conversion template on of_length may give
users "non-portable" link errors.  Removed.