D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21323 - (64-bit Windows only) core.stdcpp.vector could not have core.stdcpp.vector as element
Summary: (64-bit Windows only) core.stdcpp.vector could not have core.stdcpp.vector as...
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-10-17 19:00 UTC by Nathan S.
Modified: 2020-11-13 02:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nathan S. 2020-10-17 19:00:35 UTC
Example:
---
import core.stdcpp.vector: stdcpp_vector = vector;
alias VectorVectorInt = stdcpp_vector!(stdcpp_vector!int);
----

Output:

...\import\core\stdcpp\vector.d(590): Error: template core.lifetime.moveEmplace cannot deduce function from argument types !()(stdcpp_vector!(int, allocator!int)), candidates are:
...\import\core\lifetime.d(1787):        moveEmplace(T)(ref T source, ref T target)
...\vector_test.d(2): Error: template instance core.stdcpp.vector.stdcpp_vector!(stdcpp_vector!(int, allocator!int), allocator!(stdcpp_vector!(int, allocator!int))) error instantiating
Comment 1 Dlang Bot 2020-10-17 19:09:56 UTC
@n8sh created dlang/druntime pull request #3238 "Fix: core.stdcpp.vector cannot have core.stdcpp.vector as element" fixing this issue:

- Fix Issue 21323 - (64-bit Windows only) core.stdcpp.vector could not have core.stdcpp.vector as element

https://github.com/dlang/druntime/pull/3238
Comment 2 Dlang Bot 2020-10-25 03:59:44 UTC
dlang/druntime pull request #3238 "Fix: core.stdcpp.vector cannot have core.stdcpp.vector as element" was merged into stable:

- 43651191e970adb5d8ae7018eb5f2195eeb3695c by Nathan Sashihara:
  Fix Issue 21323 - (64-bit Windows only) core.stdcpp.vector could not have core.stdcpp.vector as element

https://github.com/dlang/druntime/pull/3238
Comment 3 Dlang Bot 2020-11-13 02:54:06 UTC
dlang/druntime pull request #3269 "merge stable" was merged into master:

- 444fc360b27adf4420464ab2019061f1c60b20fc by Nathan Sashihara:
  Fix Issue 21323 - (64-bit Windows only) core.stdcpp.vector could not have core.stdcpp.vector as element

https://github.com/dlang/druntime/pull/3269