Design by Contract in C++? -


Is there any library that helps in designing the design by contract theory in the C ++ application Edit: / P>

is looking at something better than ASSERT

I follow the teachings of the following articles:

  • (Miro Sámac, C / C ++ User Journal, 2003)
  • for contract design Simple help in C ++ (Pedro Gue Rareo, Tools, 2001)

What I ultimately applied was that Samek's approach was very necessary, fixed, checked and inverters (existing assert macro Making macros was very useful for the basis). Of course this is not as good as the support of native language, but anyway, it allows you to get more practical value from the technology.

For libraries, I do not think it pays to use one, because an important importance of the implantation system is its simplicity.

For the difference between debug and production code, see.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -