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   */

     

  • 相关阅读:
    LightOJ
    Peter and Snow Blower
    Gena's Code
    nyoj139--我排第几个 (康拓展开)
    hdoj1394(归并排序)
    树状数组
    Poj 1113--Wall(凸集)
    hdoj1437 -- 天气情况
    hdoj1428 -- 漫步校园 (记忆化搜索)
    图像边缘检测
  • 原文地址:https://www.cnblogs.com/hnrainll/p/2616844.html
Copyright © 2011-2022 走看看