Boost logo

Boost :

From: Sohail Somani (sohail_at_[hidden])
Date: 2008-04-01 14:07:30


On Tue, 01 Apr 2008 13:48:03 -0400, Edward Diener wrote:

> A global enumerated value called ERROR is not a good idea.

In C++, a global anything is not a good idea especially if you use other
libraries. At the least, you should be doing C-style namespacing, i.e.,
product_ERROR, if you are into that sort of thing.

-- 
Sohail Somani
http://uint32t.blogspot.com

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