main.cpp 547 Bytes
Newer Older
1
// Headers are available because we added the pls target
2 3 4 5
#include <iostream>
#include <functional>
#include <array>
#include <atomic>
6
#include <memory>
7 8
#include <typeindex>
#include <tuple>
9

10 11
#include <pls/internal/scheduling/root_task.h>
#include <pls/internal/helpers/unique_id.h>
12 13


14
int main() {
15 16
    std::cout << pls::internal::scheduling::root_task<void(*)>::create_id().type_.hash_code() << std::endl;
    std::cout << pls::internal::helpers::unique_id::create<pls::internal::scheduling::root_task<void(*)>>().type_.hash_code() << std::endl;
17
}