-
# Notes on C++ SFINAE, Modern C++ and C++20 Concepts - C++ Stories
What is SFINAE? Where can you use this metaprogramming technique? Are there any better alternatives in Modern C++? And how about Con…
-
| | |
| --- | --- |
| Bugzilla Link | [46791](https://llvm.org/bz46791) |
| Version | trunk |
| OS | Linux |
| CC | @zygoloid |
## Extended Description
https://godbolt.org/z/15ofMv
The …
-
Entrance task for C++ ninjas.
There is a lot of code where templated methods behave slightly differently, based on the template argument. A lot of older shogun code solves this via explicitly speci…
-
# enable_if
当为true的时候,会输出type,否则没有,如下:
```cpp
template
typename std::enable_if::type SFINAE_test(T value)
{
std::cout
-
As Boost.Variant2 makes extensive use of templates, SFINAE, parameter packs, and metaprogramming in general it would be nice to see how mrdocs handles it. We should add it to the demos.
-
### Check duplicate issues.
- [x] Checked for duplicates
### Description
Following from wlav/cppyy#201, it seems there is an issue with (ROOT's) cppyy's handling of SFINAE functions with vari…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR38010](https://bugs.llvm.org/show_bug.cgi?id=38010) |
| Status | CONFIRMED |
| Importance | P norm…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR36158](https://bugs.llvm.org/show_bug.cgi?id=36158) |
| Status | NEW |
| Importance | P normal |
|…
-
**Is your feature request related to a problem? Please describe.**
Now that HLSL supports C++ templates with SFINAE, we should ship a set of C++-compatible type_traits interfaces.
**Describe the s…
-
This is related to #192 which was displaying the issue inside a large library + older version of cppyy used by ROOT. I've managed to isolate the issue into a minimal example on the latest version of c…