|
xapian-core
2.0.0
|
Negate unsigned integer, avoiding compiler warnings. More...
#include <type_traits>
Include dependency graph for negate_unsigned.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<typename T > | |
| constexpr std::enable_if_t< std::is_unsigned_v< T >, T > | negate_unsigned (T value) |
Negate unsigned integer, avoiding compiler warnings.
Definition in file negate_unsigned.h.
|
inlineconstexpr |
Definition at line 35 of file negate_unsigned.h.
Referenced by DEFINE_TESTCASE(), MultiDatabase::get_doclength_lower_bound(), MultiDatabase::get_unique_terms_lower_bound(), min_non_zero(), parse_signed(), Xapian::sortable_serialise_(), Xapian::sortable_unserialise(), and tostring().