FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
November 01, 2005

Argument-Dependent Return-Type Variance

(Page 3 of 4)

November, 2005: Argument-Dependent Return-Type Variance

Listing 2

struct ORJStringA
{
  size_t      len;        /* Number of chars in string       */
  char const  *ptr;       /* Pointer to first char in string */
};
struct ORJFieldA
{
  size_t      mbz0;       /* Reserved: must be 0 */
  ORJStringA  name;       /* The field name */
  ORJStringA  value;      /* The field value */
  void        *reserved0; /* Reserved: cannot be used by client code */
};
struct ORJRecordA
{
  size_t      mbz0;       /* Reserved: must be 0 */
  size_t      numFields;  /* The number of fields in the record */
  ORJFieldA   *fields;    /* The field array */
  void        *reserved0; /* Reserved: cannot be used by client code */
  ORJStringA  comment;    /* The record comment */
};

Previous Page | 1 | 2 | 3 | 4 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK