Searched refs:rightshift (Results 1 – 8 of 8) sorted by relevance
/third_party/boost/libs/sort/test/ |
D | float_sort_test.cpp | 21 struct rightshift { struct 82 test_vector(base_vec, rightshift()); in float_test() 87 test_vector(base_vec, rightshift()); in float_test() 90 test_vector(base_vec, rightshift()); in float_test() 93 test_vector(base_vec, rightshift()); in float_test() 96 test_vector(base_vec, rightshift()); in float_test() 100 test_vector(base_vec, rightshift()); in float_test()
|
D | integer_sort_test.cpp | 23 struct rightshift { struct 75 integer_sort(test_vec.begin(), test_vec.end(), rightshift()); in int_test() 79 integer_sort(test_vec.begin(), test_vec.end(), rightshift(), less<int>()); in int_test()
|
/third_party/boost/libs/sort/example/ |
D | rightshiftsample.cpp | 29 struct rightshift { struct 72 integer_sort(array.begin(), array.end(), rightshift()); in main()
|
D | shiftfloatsample.cpp | 26 struct rightshift { struct 83 float_sort(array.begin(), array.end(), rightshift()); in main()
|
D | keyplusdatasample.cpp | 34 struct rightshift { struct 80 integer_sort(array.begin(), array.end(), rightshift(), lessthan()); in main()
|
D | floatfunctorsample.cpp | 43 struct rightshift { struct 112 float_sort(array.begin(), array.end(), rightshift(), lessthan()); in main()
|
/third_party/boost/libs/sort/ |
D | Jamfile.v2 | 19 exe rightshift : rightshiftsample.cpp ;
|
/third_party/boost/libs/sort/doc/ |
D | spreadsort.qbk | 123 The rightshift functor takes two args, first the data type, 136 rightshift(A, n) < rightshift(B, n) -> A < B 137 A < B -> rightshift(A, 0) < rightshift(B, 0) 142 …mple.cpp rightshiftsample.cpp] for a working example of integer sorting with a rightshift functor. 145 This functor must provide the same sorting order as the integers returned by the rightshift (aside … 147 rightshift(A, n) < rightshift(B, n) -> compare(A, B) 148 compare(A, B) -> rightshift(A, 0) < rightshift(B, 0) 510 …tshiftsample.cpp rightshiftsample.cpp] for a working example of using rightshift, using a user-de… 535 …ve) into integers. This is an essential utility for creating a custom rightshift functor for floa… 568 [@../../example/shiftfloatsample.cpp Sort floats using a rightshift functor.]
|