]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/doc/testing_tools/boost_test_string_comparison.qbk
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / test / doc / testing_tools / boost_test_string_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:strings C-string comparison]
10 In 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]