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

An Efficient Variant Type

(Page 6 of 7)

November, 2005: An Efficient Variant Type

Listing 5

  struct fxn_ptr_table
  {
    std::type_info const& (*type)();
    void (*destructor)(object_holder&);
    void (*static_delete)(object_holder&);
    void (*clone)(object_holder&, const object_holder&);
    void (*assign)(object_holder&, const object_holder&);
    bool (*is_optimized)();
    void (*swap)(object_holder&, object_holder&);
  };

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



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK