[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about namespace std in 2.95 to 3.0 upgrade
From: |
Kayvan A. Sylvan |
Subject: |
Re: Question about namespace std in 2.95 to 3.0 upgrade |
Date: |
Mon, 8 Apr 2002 15:51:04 -0700 |
User-agent: |
Mutt/1.3.25i |
> Am I correct in tell them to just stick in "using namespace std"?
> How much of a violation is it to leave off the namespace thing?
> Is there a compiler switch I can tell them to use since they are
> so insistent that this is absolutely correct, it has always worked, it
> should work, etc?
Even better is to tell them to use
using std::cout; using std::endl;
They don't need to pull in all of the std namespace in most
cases.
[[ Available for consulting. http://www.sylvan.com/~kayvan/Resume.html ]]
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
pgpwndhQ_0noY.pgp
Description: PGP signature