[Issue 21323] New: (64-bit Windows only) core.stdcpp.vector could not have an element that was also a core.stdcpp.vector
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 17 19:00:35 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21323
Issue ID: 21323
Summary: (64-bit Windows only) core.stdcpp.vector could not
have an element that was also a core.stdcpp.vector
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
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
--
More information about the Digitalmars-d-bugs
mailing list