Lines Matching refs:gsl
18 #include <gsl/gsl_byte>
28 using namespace gsl;
104 CHECK(0x12 == gsl::to_integer<char>(b));
105 CHECK(0x12 == gsl::to_integer<short>(b));
106 CHECK(0x12 == gsl::to_integer<long>(b));
107 CHECK(0x12 == gsl::to_integer<long long>(b));
109 CHECK(0x12 == gsl::to_integer<unsigned char>(b));
110 CHECK(0x12 == gsl::to_integer<unsigned short>(b));
111 CHECK(0x12 == gsl::to_integer<unsigned long>(b));
112 CHECK(0x12 == gsl::to_integer<unsigned long long>(b));
114 // CHECK(0x12 == gsl::to_integer<float>(b)); // expect compile-time error
115 // CHECK(0x12 == gsl::to_integer<double>(b)); // expect compile-time error
118 int modify_both(gsl::byte& b, int& i)