coldata3.hh
来自「MySql C++ library」· HH 代码 · 共 21 行
HH
21 行
#ifndef __coldata3_hh__
#define __coldata3_hh__
#include <string>
using namespace std ;
#include <mysql.h>
#include "coldata2.hh"
#include "convert3.hh"
#include "null3.hh"
template <class Str, class T, class B>
mysql_ColData<Str>::operator Null<T,B> () const {
if ((*this)[0] == 'N' && (*this)[1] == 'U' &&
(*this)[2] == 'U' && (*this)[3] == 'L' && size() == 4)
return Null<T,B>(null);
else return Null<T,B>(conv(T()));
}
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?