This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <dlfcn.h> | |
| #include <format> | |
| #include <memory> | |
| #include <stdexcept> | |
| #include <unordered_map> | |
| struct dl_exception : std::runtime_error { | |
| using std::runtime_error::runtime_error; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "signals.hpp" | |
| #include <iostream> | |
| struct MyEvent { | |
| using Signature = void(int); | |
| }; | |
| struct OtherEvent { | |
| using Signature = int(int); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef PROPERTY_PROPERTY_HPP | |
| #define PROPERTY_PROPERTY_HPP | |
| #include <functional> | |
| template <typename T> | |
| struct Property { | |
| using setter_type = std::function<void(Property<T>&, T)>; | |
| using getter_type = std::function<T *(Property<T>&)>; | |
| typedef T element_type; | |
| typedef T *pointer_type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdlib> | |
| #include <unistd.h> | |
| #include <cerrno> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include <string> | |
| #include <filesystem> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <memory> | |
| #include <ranges> | |
| #include <source_location> | |
| #include <vector> | |
| #include "traits.hpp" | |
| class Scene; | |
| class Entity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <format> | |
| #include <iostream> | |
| #include <source_location> | |
| #include <string_view> | |
| #include <tuple> | |
| #include <unordered_map> | |
| enum class LogLevel { DEBUG, INFO, WARNING, ERROR, CRITICAL }; | |
| namespace CLIColors { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <variant> | |
| #include <functional> | |
| #include <iostream> | |
| template <typename Info, typename Actual> | |
| class Lazy { | |
| struct info_holder { | |
| Info x; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <atomic> | |
| #include <concepts> | |
| #include <iostream> | |
| #include <stdexcept> | |
| #include <vector> | |
| template <typename T> | |
| class Badge { | |
| friend T; | |
| Badge() = default; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <coroutine> | |
| #include <expected> | |
| #include <optional> | |
| #include <iostream> | |
| #include "return_object_holder.hpp" | |
| using std::coroutine_traits; | |
| template <typename R, typename E> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <algorithm> | |
| #include <condition_variable> | |
| #include <functional> | |
| #include <mutex> | |
| #include <queue> | |
| #include <thread> | |
| #include <vector> | |
| struct threadpool { | |
| std::vector<std::jthread> threads; |
NewerOlder