zoukankan      html  css  js  c++  java
  • namespace std 定义的位置

    其定义在yvals.h当中. 目录为Microsoft Visual Studio\VC98\INCLUDE

     

     

    /*   NAMESPACE   */ 

      #if   defined(__cplusplus) 
        #define   _STD_BEGIN namespace   std   { 
        #define   _STD_END } 
        #define   _STD ::std:: 

    /* 
    We   use   the   stdext   (standard   extension)   namespace   to   contain   extensions   that   are   not   part   of   the   current   standard 
    */ 
        #define   _STDEXT_BEGIN         namespace   stdext   { 
        #define   _STDEXT_END } 
        #define   _STDEXT                 ::stdext:: 

        #ifdef   _STD_USING 
          #define   _C_STD_BEGIN namespace   std   { /*   only   if   *.c   compiled   as   C++   */ 
          #define   _C_STD_END } 
          #define   _CSTD ::std:: 

        #else   /*   _STD_USING   */ 
    /*   #define   _GLOBAL_USING *.h   in   global   namespace,   c*   imports   to   std   */ 

          #define   _C_STD_BEGIN 
          #define   _C_STD_END 
          #define   _CSTD :: 
        #endif   /*   _STD_USING   */ 

        #define   _C_LIB_DECL extern   "C "   { /*   C   has   extern   "C "   linkage   */ 
        #define   _END_C_LIB_DECL } 
        #define   _EXTERN_C extern   "C "   { 
        #define   _END_EXTERN_C } 

      #else   /*   __cplusplus   */ 
        #define   _STD_BEGIN 
        #define   _STD_END 
        #define   _STD 

        #define   _C_STD_BEGIN 
        #define   _C_STD_END 
        #define   _CSTD 

        #define   _C_LIB_DECL 
        #define   _END_C_LIB_DECL 
        #define   _EXTERN_C 
        #define   _END_EXTERN_C 
      #endif   /*   __cplusplus   */

     

  • 相关阅读:
    CompareUtil
    linux awk学习笔记
    linux用grep查找包含两个关键字的命令
    mysql 使用set names 解决乱码问题
    对私有静态方法进行单测
    使用JUnit测试预期异常
    Tortoise svn 冲突解决主要办法
    tortoise svn冲突解决
    word-break与word-wrap
    移动端适配
  • 原文地址:https://www.cnblogs.com/hnrainll/p/2616844.html
Copyright © 2011-2022 走看看