beginning of the scheduler

This commit is contained in:
Blue 2023-12-31 14:10:04 -03:00
parent f1a2006b4b
commit 26114aad5f
Signed by: blue
GPG key ID: 9B203B252A63EE38
6 changed files with 157 additions and 0 deletions

View file

@ -15,3 +15,10 @@ void ltrim(std::string& string);
void rtrim(std::string& string);
void trim(std::string& string);
std::string extract(std::string& string, std::string::size_type begin, std::string::size_type end);
template <class T>
struct FirstGreater {
bool operator () (T left, T right) {
return std::get<0>(left) > std::get<0>(right);
}
};