test/doc/testing_tools/boost_test_bitwise_comparison.qbk
Raffi Enficiaud ae01c8387c Documentation updates
- section about command line argument filtering for template test cases
- many typos fixes
- remove reference to bjam
2019-10-31 08:54:50 +01:00

22 lines
717 B
Plaintext

[/
/ Copyright (c) 2015 Boost development team
/
/ Distributed under the Boost Software License, Version 1.0. (See accompanying
/ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
/]
[section:bitwise Bitwise comparison]
[caution this feature is not available for non C++11 compilers.]
The manipulator [classref boost::test_tools::bitwise] can be provided to the __BOOST_TEST__ macro in order to have a bitwise comparison
of the operands. In that case, the __UTF__ indicates the bit indices where the two operands do not match.
[bt_example boost_test_bitwise..BOOST_TEST bitwise comparison..run-fail]
[note the indices start at least significant bit.]
[endsect] [/ bitwise comparison]