On 04/04/14 19:28, Jordan Justen wrote: > On Fri, Apr 4, 2014 at 6:07 AM, Laszlo Ersek <ler...@redhat.com> wrote:
[snip] >> (c) the constructor has no ctor-initializer; ie. a member initializer >> list, separated with a colon (:), as in >> >> CVfrCompiler::CVfrCompiler ( >> IN INT32 Argc, >> IN CHAR8 **Argv >> ) : mRunStatus (STATUS_STARTED) >> { >> // ... >> } [snip] >> (Another possibility would be to use a ctor-initializer, like in (c) >> above, but I think that the BaseTools coding style doesn't allow that.) > > Is it? Well I did build-test that solution with gcc, but I have no clue if the MSVC du jour supports it or not. (It really should.) Also, I tried to grep the BaseTools subtree for such a constructor-initializer (for a pattern like "right paren followed by whitespace followed by colon"), and I found nothing relevant. Thanks Laszlo ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel