]>
Commit | Line | Data |
---|---|---|
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] | |
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] |