Package Index  Table of Contents

CodeCheck ECS C/C++ to Test Suite - 175.cpp

// 175.  Do not put global-scope using or using namespace declarations in a header file.
namespace stdfoo {
 int noop;
}
// GOOD 175, using ok in c++ file
using stdfoo::noop;
#include "175.h"

Package Index  Table of Contents

CodeCheck Copyright (c) 1988-2005 by Abraxas Software Inc. (R). All rights reserved.