D's struct has a wealth of possibilities. It is defined by the D spec as a way to "paint a data structure over hardware or an external type", and thus gives us various modeling tools that come without runtime or memory cost. We've already used or seen some of the techniques from this chapter earlier in the book.
D Cookbook
By :
D Cookbook
By:
Overview of this book
Table of Contents (21 chapters)
D Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Core Tasks
Phobos – The Standard Library
Ranges
Integration
Resource Management
Wrapped Types
Correctness Checking
Reflection
Code Generation
Multitasking
D for Kernel Coding
Web and GUI Programming
Addendum
Index
Customer Reviews