]> Creatis software - gdcm.git/commitdiff
note on stl header .
authorfrog <frog>
Fri, 8 Oct 2004 07:23:05 +0000 (07:23 +0000)
committerfrog <frog>
Fri, 8 Oct 2004 07:23:05 +0000 (07:23 +0000)
Doc/Website/CodingStyle.html

index 9cb6926c51c8c5b7b02bb960a44505c324fb8714..d62d019ff0f71a74aad4f01dcfc0ca514157c161 100644 (file)
  - Only the C++ standard library and the STL includes should be used.
    When including don't use the .h extension (use #include <iostream>
    instead of #include <iostream.h>).
+   Note: include the stl header AFTER the gdcm ones (otherwise pragma
+         warnings won't work).
  - Don't use the C standard library. Don't include stdio.h, ctype.h...
    Don't use printf(), sprinf(), FILE*...
  - Don't use the NULL notation (either as macro, or as const int NULL=0).