mirror of
https://github.com/boostorg/endian.git
synced 2025-07-29 20:17:26 +02:00
Finalize buffer and arithmetic decomposition. Finalize name changes. Finalize test cases. Remove cruft. Docs still to do.
This commit is contained in:
@ -29,15 +29,15 @@ int cpp_main(int, char *[])
|
||||
cout << "byte swap intrinsics: " BOOST_ENDIAN_INTRINSIC_MSG << endl;
|
||||
|
||||
cout << " construct" << endl;
|
||||
bel::big_buf32_t x(1122334455);
|
||||
bel::big_int32_buf_t x(1122334455);
|
||||
|
||||
cout << " assign from built-in integer" << endl;
|
||||
x = 1234567890;
|
||||
|
||||
cout << " operator==(buffer, built-in)" << endl;
|
||||
// bool b1(x == 1234567890);
|
||||
bool b1(x.value() == 1234567890);
|
||||
BOOST_TEST(b1);
|
||||
|
||||
// BOOST_TEST(x == 1234567890);
|
||||
cout << " done" << endl;
|
||||
|
||||
return ::boost::report_errors();
|
||||
|
Reference in New Issue
Block a user