Cbeam
Loading...
Searching...
No Matches
find.hpp File Reference
#include <cstddef>
#include <map>
#include <variant>
Include dependency graph for find.hpp:

Go to the source code of this file.

Namespaces

namespace  cbeam
 The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurrency, memory management, file handling, logging, serialization, and more. Its purpose is to provide a cohesive collection of modern C++ components that address common system-level and application-level tasks, while promoting thread-safety, interprocess communication, and stable resource handling across varied platform APIs.
 
namespace  cbeam::container
 Offers advanced container types with unique approaches to stability and interprocess sharing. Besides standard helpers like buffer and circular_buffer, it includes innovative classes such as stable_interprocess_container and stable_interprocess_map. These support shared-memory usage, ensuring consistent serialization and robust data exchange across process boundaries or differing compiler environments.
 

Functions

template<typename Key, typename Value, typename... VariantTypes>
bool cbeam::container::key_exists (const std::map< std::variant< VariantTypes... >, Value > &t, const Key &key)
 Checks if a std::map using std::variant as a key contains a specific key.
 
template<typename T, typename... Types>
cbeam::container::get_value_or_default (const std::variant< Types... > &value) noexcept
 
template<std::size_t T, typename... Types>
auto cbeam::container::get_value_or_default (const std::variant< Types... > &value) noexcept