| 99 | |
| 100 | template<class CharT> |
| 101 | inline bool |
| 102 | operator <( boost::unit_test::basic_cstring<CharT> const& x, |
| 103 | boost::unit_test::basic_cstring<CharT> const& y ) |
| 104 | { |
| 105 | typedef typename boost::unit_test::basic_cstring<CharT>::traits_type traits_type; |
| 106 | return x.size() != y.size() |
| 107 | ? x.size() < y.size() |
| 108 | : traits_type::compare( x.begin(), y.begin(), x.size() ) < 0; |
| 109 | } |
| 110 | |
| 111 | //____________________________________________________________________________// |
| 112 |