13 ms·
Yes, you are reading the D incorrectly. `URIWithoutFinalise` has no post-blit constructor (D does not have copy constructors) and thus does nothing on copy. It
by ben-schaaf 8y ago
Yes, you are reading the D incorrectly. `URIWithoutFinalise` has no post-blit constructor (D does not have copy constructors) and thus does nothing on copy. It does have a method called `dup` that returns a `URI`(WithFinalization), but this is not called on copy.
`URI` cannot be copied because the post-blit constructor is disabled. The default constructor is also disabled, so a "null" URI couldn't be created either.
You'll get no argument from me about not checking for failure though. Some asserts at least would be a good idea there.
- dbaupp 8y agoOh, awesome! Thanks!