Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool SortConvertTest( Pixel lhs, Pixel rhs )
- {
- return ( lhs.it < rhs.it );
- }
- ...
- //- Восстановление основного массива (развертывание)
- for (int i = 0; i < convertEx.size(); i++)
- convertTest.push_back(convertEx[i]);
- for (int i = 0; i < convertDp.size(); i++)
- convertTest.push_back(convertDp[i]);
- std::sort(convertTest.begin(), convertTest.end(), SortConvertTest);
Add Comment
Please, Sign In to add comment