[LLVMdev] Allow default member initializers in LLVM
Paweł Bylica
chfast at gmail.com
Tue Apr 28 15:06:08 PDT 2015
On Tue, Apr 28, 2015 at 11:45 PM Reid Kleckner <rnk at google.com> wrote:
>
> I'll also put in a word recommending that these should only be used to
> initialize scalars to constant values. C++ is very flexible and will let
> you put lots of stuff here, but doing so is probably bad form.
>
Agreed, especially in LLVM project. And MSVC has problems with complex
initializers:
https://connect.microsoft.com/VisualStudio/feedback/details/807232/class-member-vector-initialization-list-unexpected-c-11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150428/e76fce4f/attachment.html>
More information about the llvm-dev
mailing list