Dimitrije Dobrota
Dimitrije Dobrota
I have the following code that gets compiled with clang and runs correctly: `include/based/template.hpp` ```c++ #pragma once namespace based { template struct overload : public F... { using F::operator()...; };...
In this basic example of CRTP pattern: ```c++ template class base { friend D; base() = default; base(const base&) = default; base(base&&) = delete; }; class derived : public base...
The following code doesn't make sense as I've tried to reduce it as much as possible. It compiles fine with gcc 15.1 but crashes clang 19.1.0, as can be seen...
## Environment - LLVM Clang 22.1.5, commit `5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c` - Target: `arm64-apple-darwin27.0.0` - macOS; default compiler configuration disabled in the command below - No includes, standard library, concepts, or inheritance required...