... oh well, this is enough:
struct A
{
int arr[1];
constexpr A()
: arr() { }
};
Paolo.
Hi,
> On 11/05/2010 09:03 PM, Gabriel Dos Reis wrote:
>> 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'.
> I believe so.
Thanks Gaby and Jason.
I wanted
On 11/05/2010 09:03 PM, Gabriel Dos Reis wrote:
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'.
I believe so.
Jason
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-initializ