コード例 #1
0
			static int_type not_eof (const int_type & i)
			{
				// Return i, unless i == eof().
				if (eq_int_type(i, eof()))
					return to_int_type (char_type());	
				else
					return i;
			}
コード例 #2
0
ファイル: lstring.hpp プロジェクト: alisheikh/warp
	static int_type not_eof(const int_type &c) {
		return !eq_int_type(c, eof()) ? c : to_int_type(char_type());
	}
コード例 #3
0
ファイル: blob.hpp プロジェクト: fybot/libzmq
 static int_type
 not_eof(const int_type& __c)
 {
     return eq_int_type(__c, eof()) ? int_type(0) : __c;
 }
コード例 #4
0
ファイル: unicode.hpp プロジェクト: jimregan/ngramtool
 static int_type  not_eof(const int_type& __c) {
   return !eq_int_type(__c, eof()) ? __c : (int_type)0;
 }