/
Ant010ff
/
ffpp
Обзор
Документация
Войти
/
Ant010ff
/
ffpp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
include/ffpp.hpp
162 строки
4 KB
Ant010ff
Version 2.11.3.
08 авг 2026, 16:44
08 авг 2026, 16:44
fd187d3
Код
Авторство
О чём код?
/* Functional Flow Processing Primitives (FFPP) library, version 2.11.3. Official repository: https://gitlab.com/ant010ff/ffpp Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2021 - 2026 Anton Nasonov <ant010fff @ gmail . com>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef FFPP_HPP #define FFPP_HPP #include <version> #include <algorithm> #include <array> #include <atomic> #include <bit> #include <cassert> #include <cerrno> #include <chrono> #include <climits> #include <concepts> #include <cstdint> #include <cstdlib> #include <deque> #include <exception> #if defined(__cpp_lib_flat_map) && __cpp_lib_flat_map >= 202207L #include <flat_map> #endif #if defined(__cpp_lib_format) && __cpp_lib_format >= 202106L #include <format> #endif #include <functional> #include <limits> #include <map> #include <memory> #include <mutex> #include <new> #include <ranges> #include <semaphore> #include <shared_mutex> #include <source_location> #include <sstream> #include <string> #include <string_view> #include <thread> #include <type_traits> #include <unordered_map> #include <unordered_set> #include <utility> #include <variant> #include <vector> #if defined(_WIN32) #ifndef _WINDOWS_ #ifndef NOMINMAX #define NOMINMAX #define _FFPP_NOMINMAX #endif #include <windows.h> #ifdef _FFPP_NOMINMAX #undef NOMINMAX #undef _FFPP_NOMINMAX #endif #endif #ifdef max #define _FFPP_WIN32_MAX #pragma push_macro("max") #undef max #endif #ifdef min #define _FFPP_WIN32_MIN #pragma push_macro("min") #undef min #endif #endif #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) #include <unistd.h> #endif #if defined(_POSIX_VERSION) #include <pthread.h> #include <sched.h> #endif #if defined(_MSC_VER) && defined(_M_X64) #include <intrin.h> #endif #include "./exceptionbase.hpp" #include "./definitions.hpp" #include "./extendedconcepts.hpp" #include "./tuplesupport.hpp" #include "./exceptionsupport.hpp" #include "./function.hpp" #include "./idprovider.hpp" #include "./fastprng.hpp" #include "./fastmath.hpp" #include "./threadingsupport.hpp" #include "./commonpolicy.hpp" #include "./factory.hpp" #include "./uniqueguard.hpp" #include "./finalizer.hpp" #include "./join.hpp" #include "./backoff.hpp" #include "./ticketmutex.hpp" #include "./stripedticketmutex.hpp" #include "./lockable.hpp" #include "./stripedtable.hpp" #include "./sequence.hpp" #include "./queueconcept.hpp" #include "./dequeue.hpp" #include "./exclusiveringqueue.hpp" #include "./ringqueue.hpp" #include "./sequencechainer.hpp" #include "./executable.hpp" #include "./functionalsequence.hpp" #include "./functionalqueue.hpp" #include "./functionalloop.hpp" #include "./functionalqueuethread.hpp" #include "./functionaltimer.hpp" #include "./functionalqueuepool.hpp" #include "./brokereventacceptor.hpp" #include "./brokertaskloop.hpp" #include "./brokerchainer.hpp" #include "./functionalbroker.hpp" #include "./actor.hpp" #include "./job.hpp" #ifdef _FFPP_WIN32_MAX #pragma pop_macro("max") #undef _FFPP_WIN32_MAX #endif #ifdef _FFPP_WIN32_MIN #pragma pop_macro("min") #undef _FFPP_WIN32_MIN #endif namespace ffpp = FFPP; #endif//FFPP_HPP