]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/doc/testing_tools/boost_test_bitwise_comparison.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / test / doc / testing_tools / boost_test_bitwise_comparison.qbk
1 [/
2 / Copyright (c) 2015 Boost development team
3 /
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 /]
7
8
9 [section:bitwise Bitwise comparison]
10
11 [caution this feature is not available for non C++11 compilers.]
12
13 The manipulator [classref boost::test_tools::bitwise] can be provided to the __BOOST_TEST__ macro in order to have a bitwise comparison
14 of the operands. In that case, the __UTF__ indicates the bit indices where the two operands do not match.
15
16 [bt_example boost_test_bitwise..BOOST_TEST bitwise comparison..run-fail]
17
18 [note the indices start at least significant bit.]
19
20
21 [endsect] [/ bitwise comparison]