Georg Wrede wrote:
Andrei Alexandrescu wrote:

"Can't live without bitfields! Give me bitfields and I'll lift the Earth!"

"Here they are, std.bitmanip. Well-defined and more portable and flexible than C's."

"Meh, don't like the definition syntax."


Now, now. There. Don't cry.  ;-)

They might be an unglamorous part of D, and seldom used, but for the guy who ends up needing bitfields, they're a godsend!

Like a can opener. You can live weeks without needing one, but when you've got a can, it's not nice to open it with the kitchen knife.

Creating a can opener on your own is not as trivial as re-implementing bitfields.

Reply via email to