www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21323] New: (64-bit Windows only) core.stdcpp.vector could


          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 puremagic.com
          Reporter: n8sh.secondary hotmail.com

import core.stdcpp.vector: stdcpp_vector = vector;
alias VectorVectorInt = stdcpp_vector!(stdcpp_vector!int);


...\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
...\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

Oct 17 2020