Miscellaneous stuff that is useful but too small/unimportant to be put in its own module.
More...
|
|
template<typename T, std::three_way_comparable_with< T > U> |
| constexpr std::compare_three_way_result_t< T, U > | dxx::utils::heap::operator<=> (const Option< T > &lhs, const Option< U > &rhs) |
|
template<typename T> |
| constexpr std::compare_three_way_result_t< bool, bool > | dxx::utils::heap::operator<=> (const Option< T > &lhs, std::nullopt_t) |
|
template<typename T, typename U> |
| constexpr std::compare_three_way_result_t< T, U > | dxx::utils::heap::operator<=> (const Option< T > &lhs, const U &rhs) |
|
template<typename T, std::equality_comparable_with< T > U> |
| constexpr bool | dxx::utils::heap::operator== (const Option< T > &lhs, const Option< U > &rhs) |
|
template<typename T, std::equality_comparable_with< T > U> |
| constexpr bool | dxx::utils::heap::operator== (const Option< T > &lhs, const U &rhs) |
|
template<typename T> |
| constexpr bool | dxx::utils::heap::operator== (const Option< T > &lhs, std::nullopt_t) |
|
template<typename T> |
| constexpr void | std::swap (dxx::utils::heap::Option< T > &lhs, dxx::utils::heap::Option< T > &rhs) noexcept |
| template<typename Integer> |
| constexpr auto | dxx::utils::range (const Integer &to) |
| | Python-like range function ([ 0, to )).
|
| template<typename From, std::convertible_to< From > To> |
| constexpr auto | dxx::utils::range (const From &from, const To &to) |
| | Python-like range function ([ from, to )).
|
| template<typename From, std::convertible_to< From > To, std::convertible_to< From > Step> |
| constexpr auto | dxx::utils::range (const From &from, const To &to, const Step &step) |
| | Python-like range function ([ from, to ) with step step).
|
Miscellaneous stuff that is useful but too small/unimportant to be put in its own module.
|
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/utils.xx |
| | The main interface file of the dxx::utils module.
|
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/defer.xx |
| | A simple RAII wrapper to run stuff at the end of scope.
|
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/file_descriptor.xx |
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/meta.xx |
| | Metaprogramming stuff.
|
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/option.xx |
| | Heap-allocated optional type.
|
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/ranges.xx |
| | Utility code that helps working with ranges.
|
| file | /build-llvm-libcpp/_deps/dot-xx-utils-src/src/traits.xx |
| | Type traits and concepts.
|