Home
last modified time | relevance | path

Searched refs:rightshift (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/sort/test/
Dfloat_sort_test.cpp21 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()
Dinteger_sort_test.cpp23 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/
Drightshiftsample.cpp29 struct rightshift { struct
72 integer_sort(array.begin(), array.end(), rightshift()); in main()
Dshiftfloatsample.cpp26 struct rightshift { struct
83 float_sort(array.begin(), array.end(), rightshift()); in main()
Dkeyplusdatasample.cpp34 struct rightshift { struct
80 integer_sort(array.begin(), array.end(), rightshift(), lessthan()); in main()
Dfloatfunctorsample.cpp43 struct rightshift { struct
112 float_sort(array.begin(), array.end(), rightshift(), lessthan()); in main()
/third_party/boost/libs/sort/
DJamfile.v219 exe rightshift : rightshiftsample.cpp ;
/third_party/boost/libs/sort/doc/
Dspreadsort.qbk123 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.]