Search

July 30
General »
...combinations of ref-ness of the constructor parameters are automatically expanded as soon as `S...
July 29
General »
...template parameters.

The same way `__traits(isRef)` works for `auto ref` function template parameters, it...
July 29
General »
...isn’t because practically, almost all `ref` function parameters are expected to be non-null and...
July 29
Learn »
...the compiler would discard the const from parameters that are anyway never const, that's...
July 27
General »
...them. But the worst offender are `ref` parameters. They can be null, too, (or `*null...
July 26
Learn »
...a large range of types.

Using const parameters with function templates can work quite well...
July 25
DIP Ideas »
...html), the proposal to add explicit object parameters to C++23. If you write this...
July 25
Issues »
...named parameters. On the other
hand, the assumption that array literal or lambda expression parameters...
July 25
Issues »
...passing a `true` or `false` as function parameters, named arguments should be required (unless the...
July 24
General »
...That's one reason to switch to parameters, but there's another: make the compiler...
12 13 14 15 16 17 18 19 20 21 22 23
Next ›   Last »