文章
首页 我的博文
用户3635970 2012-4-7 11:12
Understanding virtual functions in C++ (Part 1)
Over the past few years, I've written several articles about representing and manipulating memory-mapped devices in C and C++. Some readers comment ...
用户3635970 2012-3-21 18:55
Uses of discriminated unions (Part 2)
A union paired with a discrete value that indicates the active member of the union is called a discriminated union or a tagged union ...
用户3635970 2012-3-11 11:50
Uses of discriminated unions (Part 1)
Off and on for about two years, I've been writing about techniques for representing and manipulating memory-mapped devices in C and C++. My more re ...
用户3635970 2012-3-11 11:38
Writing elaborate declarations is worth the effort (Part 2)
An extra line of defense A few readers have observed—rightfully so—that compilers might pack or pad structure members so that the me ...
用户3635970 2011-12-18 17:36
Writing elaborate declarations is worth the effort (Part 1)
Several months ago, I wrote an article detailing some common techniques for representing and manipulating memory-mapped devices in C. 1 I followed ...
用户3635970 2011-12-6 10:37
Employ member new to map devices (Part 2)
  The C++ Standard states that placement allocation functions are reserved, and a C++ program may not define functions that displace t ...
用户3635970 2011-12-6 10:35
Employ member new to map devices (Part 1)
I have previously written a number of columns detailing alternative techniques for representing and manipulating memory-mapped devices in C and C++ ...
用户3635970 2011-9-20 00:53
Learn about new with placement (Part 2)
  Compilers apply the usual rules for argument matching in overload resolution to find an allocation function that will accept this as ...
用户3635970 2011-9-20 00:45
Understanding new with placement (Part 2)
  Compilers apply the usual rules for argument matching in overload resolution to find an allocation function that will accept this as ...
用户3635970 2011-9-7 22:34
Learn about new with placement (Part 1)
Classes are commonly the best tool for modeling memory-mapped devices  In C++. 1 You can use a class to hide messy details, such as device regi ...
用户3635970 2011-9-7 22:26
Understanding new with placement (Part 1)
In C++, the best tool for modeling memory-mapped devices are usually classes. 1 You can use a class to hide messy details, such as device regist ...
用户3635970 2011-8-3 00:55
Issues when constructing memory-mapped objects
Last March, I posted a column explaining some common approaches to representing and manipulating memory-mapped devices in C. 1 I followed that wit ...
用户3635970 2011-8-3 00:48
The troubles with constructing memory-mapped objects
A few months ago, I wrote a column explaining some common approaches to representing and manipulating memory-mapped devices in C. 1 I followed tha ...
用户3635970 2011-6-16 13:53
Employing member initializers
In C++, a constructor is a special class member function that gives guaranteed initialization for objects of its class type. In my last few artic ...
用户3635970 2011-6-16 13:51
Utilising member initializers
In C++, a constructor is a special class member function that allows guaranteed initialisation for objects of its class type. In my recent articl ...
关闭 站长推荐上一条 /2 下一条