samples icon indicating copy to clipboard operation
samples copied to clipboard

Code samples

Results 5 samples issues
Sort by recently updated
recently updated
newest added

Under two circumstances can two distinct instantiations of `impl_ptr` have a copier function convertible to the other `impl_ptr`? This copy assignment operator is templated, but I can't see a situation...

I don't understand the purpose of [`unique_impl_ptr(unique_impl_ptr< U, D > &&u)`](https://github.com/oliora/samples/blob/58dead450bdac418fc55dfc512b8411556f51c0e/spimpl.h#L176-L183). `spimpl` seems to care about construction/assignment from not only types identical to T, but also types convertible to it....

Similar to https://github.com/oliora/samples/pull/11.

Likely a bad copy paste from `impl_ptr`. The additional parameter `C1` makes it impossible to use this operator without explicitly specifying all its template types, making it less useful. Sample...