Skip to main content

FuncDefs.ixx File

Included Headers

#include <string>

Namespaces Index

namespacehelios
namespaceecs
namespacetypes

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <string>
8
9export module helios.ecs.types.FuncDefs;
10
11
12
13export namespace helios::ecs::types {
14
49 [[nodiscard]] constexpr uint32_t fnv1a_hash(const std::string_view str) noexcept {
50 uint32_t hash = 2166136261U;
51 for (char c: str) {
52 hash ^= static_cast<uint8_t>(c);
53 hash *= 16777619U;
54 }
55 return hash;
56 }
57
58
59}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.