Avoid using namespace std in header files.
Merge pull request #674 from yangyanli/avoid_using_namespace_std_in_header

Avoid using namespace std in header files.