globals.cpp

来自「A C++ class library for scientific compu」· C++ 代码 · 共 18 行

CPP
18
字号
#define BZ_GENERATE_GLOBAL_INSTANCES/* * This module contains instances of global variables and objects. * The preprocessor symbol _bz_global normally expands to "extern", * but the declaration of BZ_GENERATE_GLOBAL_INSTANCES causes it * to expand to "" for this source file.  This ensures that globals * will have one unique instance, in libblitz.a. */#include <blitz/indexexpr.h>      // Tensor index objects#include <blitz/bzdebug.h>        // Test suite globals#include <blitz/array.h>          // Dummy array object (_dummyArray)#include <blitz/zero.cc>          // static ZeroElement data instances// NEEDS_WORK: after switch from RCS to CVS, get a version identifier.char _blitz_id[] = "@(#) Blitz++ class library";

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?