Minggu, 28 November 2010

C++0x Dynamic Message Passing

ntroductionSometimes it is useful to have dynamic message passing as in Objective-C. The small header presented below allows any class to contain a dynamic message map that can be used to add methods dynamically to an object. BackgroundObjective-C is deemed more flexible than C++ because it allows a form of dynamic dispatch known as message passing.Message passing is a form of dynamic dispatch

Tidak ada komentar:

Posting Komentar