Boost logo

Boost :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-08-27 14:15:30


[2002-08-27] Eric Woodruff wrote:

>It is better to remove the duality of the comment at the end, by switching
>to this paradigm:
>
>
>#ifndef HEADER_NAME_H__
>
>// code here...
>
>#define HEADER_NAME_H__
>#endif

That fails if...

#ifndef HEADER_NAME_H__

#include <another_header.h> // indirectly includes THIS header.
// code here...

#define HEADER_NAME_H__
#endif

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk