NSMI of bit-fields

55 views
Skip to first unread message

dgutson .

unread,
Jul 13, 2017, 2:16:45 PM7/13/17
to std-proposals
I am confused with the current proposals, many seems to be around the issue but I did not find any proposal addressing this.

Anybody knows why this is not possible?

struct S
{
    int i : 1 = 1;
};

(or int i = 1 : 1 )

Thanks,

    Daniel.

--
Who’s got the sweetest disposition?
One guess, that’s who?
Who’d never, ever start an argument?
Who never shows a bit of temperament?
Who's never wrong but always right?
Who'd never dream of starting a fight?
Who get stuck with all the bad luck?

Michał Dominiak

unread,
Jul 13, 2017, 2:18:36 PM7/13/17
to std-proposals

--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAFdMc-0XuK%3DcO3B5RoXFDuHQry91So6eWP7NHPG5t6ErSL75vQ%40mail.gmail.com.

dgutson .

unread,
Jul 13, 2017, 2:19:16 PM7/13/17
to std-proposals
Thanks for teaching me how to google :D

On Thu, Jul 13, 2017 at 3:18 PM, Michał Dominiak <gri...@griwes.info> wrote:
On Thu, Jul 13, 2017 at 2:16 PM dgutson . <daniel...@gmail.com> wrote:
I am confused with the current proposals, many seems to be around the issue but I did not find any proposal addressing this.

Anybody knows why this is not possible?

struct S
{
    int i : 1 = 1;
};

(or int i = 1 : 1 )

Thanks,

    Daniel.

--
Who’s got the sweetest disposition?
One guess, that’s who?
Who’d never, ever start an argument?
Who never shows a bit of temperament?
Who's never wrong but always right?
Who'd never dream of starting a fight?
Who get stuck with all the bad luck?

--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.

--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.

To post to this group, send email to std-pr...@isocpp.org.
Reply all
Reply to author
Forward
0 new messages