]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/test/doc/testing_tools/boost_test_string_comparison.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / test / doc / testing_tools / boost_test_string_comparison.qbk
CommitLineData
7c673cae
FG
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:strings C-string comparison]
10In the general case, pointers are compared using their value. However when type of the the pointers are `char*` or `wchar_t*`,
11__BOOST_TEST__ promotes them as null terminated `char` arrays and string comparison is used instead.
12
13[bt_example boost_test_string..BOOST_TEST string comparison..run-fail]
14
15[endsect]