public marks

PUBLIC MARKS from YukuanBlog with tags cpp & assertion

15 November 2005 13:15

Assertion

Assertion 的使用目的,就是要防止客戶對程式庫的誤用。以 Design by Contract 的原則再加上 OOP 的術語,簡單說來:就是要確保物件在執行操作或行為後還要維持其內部狀態的正確。

YukuanBlog's TAGS related to tag cpp

ai +   Antenna +   assertion +   BGL +   boost +   compiler +   debug +   exception +   freeware +   functional +   gnu +   graph +   graphics +   ide +   linux +   multithread +   oo +   porting +   programming +   project +   prolog +   puzzle +   python +   refactoring +   search +   software +   tools +   unit test +