mirror of
https://github.com/microsoft/GSL.git
synced 2025-03-03 13:33:21 -05:00
I have added the to_byte method and updated the unit tests. This gives slightly nicer syntax than static_cast, is better than the c-style cast used in the unit test. See: https://github.com/Microsoft/GSL/issues/329#issuecomment-240588515