Instantiating a generator as a template for certain reasons prevents compilers such as GCC and Clang from identifying it as a coroutine, resulting in errors indicating that
std::coroutine_traits was not found. Implementing a non-templated override resolves this issue. It is uncertain whether this constitutes a compiler bug or standard behavior.
Web++: A C++ Web Framework
I wanted to use std::indirect, but I needed something pimpl idiom that: - consteval constructible-only - consteval copyable-only Ended up writing custom nullable_indirect; at least for now.
Called it
consteval_copyable and removed a whole bunch of repetitive constructors.👍1
Let's hope introducing "dynamic scopes" to a highly templated and complex pipeline-builder "context" type is not gonna backfire.
The user-facing pipeline API will look cute though.
The user-facing pipeline API will look cute though.
👍1😭1