Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
concepts.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2024, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
5#pragma once
6
8
61// Re-export common_system concepts when available
62// Note: Include core.h directly to avoid forward declaration conflicts in callable.h
63// The callable.h has `class VoidResult;` forward decl that conflicts with
64// `using VoidResult = Result<std::monostate>;` in result.h
65#if KCENON_WITH_COMMON_SYSTEM
66#include <kcenon/common/patterns/result.h>
67#include <kcenon/common/concepts/core.h>
68#include <kcenon/common/concepts/container.h>
69#endif
70
71// Network-specific concepts (from detail directory)
74
75#if KCENON_WITH_COMMON_SYSTEM
76
78
79// Re-export commonly used common_system concepts for convenience
80using kcenon::common::concepts::Resultable;
81using kcenon::common::concepts::Unwrappable;
82using kcenon::common::concepts::Mappable;
83
84} // namespace kcenon::network::concepts
85
86#endif // KCENON_WITH_COMMON_SYSTEM
87
133// All concepts are defined in their respective headers
134// This namespace block serves as documentation
135} // namespace kcenon::network::concepts
Public header for compile-time feature flags.
C++20 concepts for compile-time type validation in network_system.
C++20 concepts for network_system types and callbacks.
C++20 concepts for unified socket abstraction.