MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / operator <

Function operator <

extern/boost/boost/test/utils/basic_cstring/compare.hpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100template<class CharT>
101inline bool
102operator <( 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

Callers

nothing calls this directly

Calls 3

compareFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected