This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
value initialization and array data member
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Jason Merrill <jason at redhat dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
- Date: Fri, 5 Nov 2010 20:03:41 -0500
- Subject: value initialization and array data member
Hi Jason,
I'm looking into std::bitset with respect to constexpr issue.
My understanding has always been that one can use the
syntax `member()' to value-initialize an array data member
`member'. However, std/biset uses the notation
`member({ })'. Is that required? Especially for a mem-initializer
in a constexpr constructor definition?
-- Gaby