https://issues.dlang.org/show_bug.cgi?id=24415

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8924 "Work around bugzilla issue 24415 - only
doesn't work with elements with a copy constructor." was merged into stable:

- 66bbf4dae038879d1ff66af3b7ab25ea66c8320d by Jonathan M Davis:
  Work around bugzilla issue 24415 - only doesn't work with elements with a
copy constructor.

  Since the compiler is treating the auto-generated copy-constructor for
  OnlyResult as private (thus rendering it useless outside of
  std.range.package), this commit adds an explicit one and makes it
  public. Once the dmd bug has been fixed, the explicit copy constructor
  should be removed.

https://github.com/dlang/phobos/pull/8924

--

Reply via email to