Skip to main content

HasReset.ixx File

Concept detecting an optional reset() method. More...

Included Headers

#include <concepts>

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespaceconcepts

Description

Concept detecting an optional reset() method.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <concepts>
8
9export module helios.engine.runtime.concepts.HasReset;
10
11export namespace helios::engine::runtime::concepts {
12
25 template<typename T>
26 concept HasReset = requires(T& t) {
27 {t.reset() } -> std::same_as<void>;
28 };
29
30}
31
32

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.