[cfe-dev] Fwd: [libc++] Is libc++ compatible with previous c++ language standard implementation
alan snape via cfe-dev
cfe-dev at lists.llvm.org
Wed Mar 7 22:40:00 PST 2018
>
> In clang, only format (1) will be used, so there is not copy construction
> in *pre* c++11, but there should be a copy construction as the reference
> declare "explicit vector( size_type count, const T& value = T(), const
> Allocator& alloc = Allocator());".
>
I don't know either why they did not... (Maybe this is the reason why this
project was started. :-) )
The behavior is different, but the interfaces are compatible.
I suggest you to read the C++ standard, and maybe submit a patch to handle
this issue. (If you would like to do that.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180308/4c055adc/attachment.html>
More information about the cfe-dev
mailing list