std::equal_to<void>::operator() template<classT,classU> constexprautooperator()(T&&lhs, U&&rhs)const ->decltype(std::forward<T>(lhs)==std::forward<U>(rhs)); Returns the result of equality comparison betweenlhsan
template< class T = void >struct equal_to; (C++14 起) 进行比较的函数对象。调用类型 T 上的operator== ,除非特化。 特化 标准库提供 std::equal_to 在未指定 T 时的特化,这使得参数类型和返回类型留待推导。 equal_to<void>(C++14) 实现x == y 并推导参数和返回类型的函数对象(类模板特化) (C++...
std::less<void> std::apply 库特性测试宏 (C++20) std::hash std::pair std::tuple std::optional std::any std::variant 格式化库 (C++20) std::integer_sequence std::exchange std::make_from_tuple std::launder std::to_chars std::from_chars std::as_const std::source_location 变参数函数...
Defined in header<functional> template<classT> structequal_to; (until C++14) template<classT=void> structequal_to; (since C++14) Function object for performing comparisons. Unless specialised, invokesoperator==on typeT. Specializations The standard library provides a specialization ofstd::equal_to...
template<classT=void> structequal_to; (C++14 起) 进行比较的函数对象。调用类型T上的operator==,除非特化。 特化 标准库提供std::equal_to在未指定T时的特化,这使得参数类型和返回类型留待推导。 equal_to<void> 实现x==y并推导参数和返回类型的函数对象 ...
template< class T = void > struct not_equal_to; (since C++14) Function object for performing comparisons. Unless specialised, invokes operator!= on type T. SpecializationsThe standard library provides a specialization of std::not_equal_to when T is not specified, which leaves the parameter typ...
@@ -133,10 +130,7 @@ void ListModelLayersAssigned::moveTerms(const QList<int> &indexes, int dropItemI { beginResetModel();int layerDrop = _variablesPerLayer.length(); int indexInLayerDrop = 0; if (dropItemIndex >= 0) auto [layerDrop, indexInLayerDrop] = _getLayer(dropItemInde...
using void_pointer = typename _Get_void_pointer_type<_Alloc>::type; using const_void_pointer = typename _Get_const_void_pointer_type<_Alloc>::type; using size_type = typename _Get_size_type<_Alloc>::type; using difference_type = typename _Get_difference_type<_Alloc>::type; using...
structnot_equal_to; (until C++14) template<classT=void> structnot_equal_to; (since C++14) Function object for performing comparisons. Unless specialised, invokesoperator!=on typeT. Specializations The standard library provides a specialization ofstd::not_equal_towhenTis not specified, which leaves...