libfly
6.2.2
C++20 utility library for Linux, macOS, and Windows
types.hpp
1
#pragma once
2
3
#include <cstdint>
4
#include <functional>
5
#include <string_view>
6
7
namespace
fly::task {
8
9
class
TaskRunner;
10
16
struct
TaskLocation
17
{
18
std::string_view m_file;
19
std::string_view m_function;
20
std::uint32_t m_line {0};
21
};
22
26
using
Task = std::function<void(
TaskRunner
*,
TaskLocation
)>;
27
28
}
// namespace fly::task
fly::task::TaskRunner
Definition:
task_runner.hpp:113
fly::task::TaskLocation
Definition:
types.hpp:17
fly
task
types.hpp
Generated by
1.9.1