Displaying 2 results from an estimated 2 matches for "ce41fa1f".
2008 Aug 28
0
[LLVMdev] is the SmallVector implementation standard c++?
...> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080829/ce41fa1f/attachment.html>
2008 Aug 28
5
[LLVMdev] is the SmallVector implementation standard c++?
While debugging a bootstrap problem, I noticed that SmallVector stores
one element in SmallVectorImpl and N - 1 in SmallVector. It also
assumes that all elements are continuous in memory. Does C++ makes any
guaranties about the relative memory position of a base and parent
classes?
I haven't studied it a lot, maybe we can keep N elements in
SmallVector and pass the pointer to SmallVectorImpl