[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [csmith-dev] [PATCH 3/3] Be a little more consistent with the std namespace.



As part of working toward a new Csmith release, I am cleaning out some *long*
overdue to-do's.  Better late than never, I guess :-(...

> It is generally considered a Bad Idea (tm) to have 'using namespace
> std;' in c++ code.
>
> The patch replaces all instances of 'using namespace std;' with up to
> four 'using std::item;' declarations and adds a 'std::' prefix to the
> vast majority of unscoped class uses.

Hi!  I'm going to punt on this very large patch.  While these changes are
probably a good idea (as we agreed at the time), merging the patch into the
current Csmith code would be difficult.

If you're interested in "updating" this patch for current Csmith, could you
submit it as a GitHub pull request?

Thanks ---

Eric.

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX