test_stlfwd.cxx

来自「DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.」· CXX 代码 · 共 40 行

CXX
40
字号
// This is vcl/tests/test_stlfwd.cxx
#include <vcl_functional.h>
#include <vcl_string.h> // C++ specific includes first

#if defined(TEST) && TEST == 1
// STL included later - this does not work with vcl/emulation because of "redefinition of default argument"
#include <vcl_stlfwd.h>
#include <vcl_map.h>
#include <vcl_set.h>
#include <vcl_list.h>

#else
#if defined(TEST) && TEST == 2
// stl included first

#include <vcl_map.h>
#include <vcl_set.h>
#include <vcl_list.h>
#include <vcl_stlfwd.h>

#else
// Normal
#include <vcl_stlfwd.h>

#endif
#endif

void f(vcl_map<int, vcl_string,vcl_less<int> >*,
       vcl_set<int,vcl_less<int> >*,
       vcl_list<int>*
      )
{
}


int test_stlfwd_main(int /*argc*/,char* /*argv*/[])
{
  return 0;
}

⌨️ 快捷键说明

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