📄 ac_cxx_have_sstream.m4
字号:
dnl @synopsis AC_CXX_HAVE_SSTREAMdnldnl If the C++ library has a working stringstream, define HAVE_SSTREAM.dnldnl @author Ben Stanleydnl @version $Id: ac_cxx_have_sstream.m4,v 1.1 2001/07/07 16:05:47 smr99 Exp $dnlAC_DEFUN([AC_CXX_HAVE_SSTREAM],[AC_CACHE_CHECK(whether the compiler has stringstream,ac_cv_cxx_have_sstream,[AC_REQUIRE([AC_CXX_NAMESPACES]) AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_TRY_COMPILE([#include <sstream>#ifdef HAVE_NAMESPACESusing namespace std;#endif],[stringstream message; message << "Hello"; return 0;], ac_cv_cxx_have_sstream=yes, ac_cv_cxx_have_sstream=no) AC_LANG_RESTORE])if test "$ac_cv_cxx_have_sstream" = yes; then AC_DEFINE(HAVE_SSTREAM,1,[define if the compiler has stringstream])fi])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -