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

     

  • 相关阅读:
    VirtualBox 给虚拟机绑定IP
    【转】 wget 命令用法详解
    [转]python -m SimpleHTTPServer
    longene QQ 安装目录
    查看mininet交换机中的流表
    aircrack-ng 字典破解WPA / WPA2
    Win7 64 安装Visual Studio 2010和SQL Server 2008 R2
    Floodlight 防火墙是如何起作用的
    小米2000万买域名mi.com
    Windows JDK环境变量的配置
  • 原文地址:https://www.cnblogs.com/hnrainll/p/2616844.html
Copyright © 2011-2022 走看看