Skip to main content

HasClear.ixx File

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

Included Headers

#include <concepts>

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespaceconcepts

Description

Concept detecting an optional clear() 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.HasClear;
10
11export namespace helios::engine::runtime::concepts {
12
24 template<typename T>
25 concept HasClear = requires(T& t) {
26 {t.clear() } -> std::same_as<void>;
27 };
28
29}
30
31

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.