D | bind_eq_test.cpp | 189 template<class F, class V> void test_1_(F f, V v1, V v2) in test_1_() argument 191 test_eq( bind(f, v1), bind(f, v1) ); in test_1_() 192 test_ne( bind(f, v1), bind(f, v2) ); in test_1_() 207 template<class F, class V> void test_2_(F f, V v1, V v2) in test_2_() argument 209 test_eq( bind(f, v1, v1), bind(f, v1, v1) ); in test_2_() 210 test_ne( bind(f, v1, v1), bind(f, v1, v2) ); in test_2_() 211 test_ne( bind(f, v1, v1), bind(f, v2, v1) ); in test_2_() 226 template<class F, class V> void test_3_(F f, V v1, V v2) in test_3_() argument 228 test_eq( bind(f, v1, v1, v1), bind(f, v1, v1, v1) ); in test_3_() 229 test_ne( bind(f, v1, v1, v1), bind(f, v1, v1, v2) ); in test_3_() [all …]
|