28 #ifndef YB_INC_ystdex_cstdio_h_
29 #define YB_INC_ystdex_cstdio_h_ 1
65 YB_API std::ios_base::openmode
74 byte, ptrdiff_t, const byte*, const byte&>
77 using traits_type = std::iterator<std::input_iterator_tag,
byte, ptrdiff_t,
78 const byte*,
const byte&>;
189 return !i.get_stream();
ifile_iterator operator++(int)
pointer operator->() const
bool operator!=(nullptr_t lhs, const _type &rhs)
friend bool operator==(const ifile_iterator &x, const ifile_iterator &y)
const char * openmode_conv(std::ios_base::openmode)
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
std::FILE * get_stream() const
reference operator*() const
#define YB_API
YBase 应用程序编程接口:用于向库文件约定链接。
#define yconstraint
约束:接口语义。
#define yconstfn
指定编译时常量函数。
bool is_undereferenceable(const any_input_iterator< _type, _tDifference, _tPointer, _tReference > &i)
std::iterator< std::input_iterator_tag, byte, ptrdiff_t, const byte *, const byte & > traits_type
ifile_iterator(std::FILE *ptr)
构造:使用流引用。
bool fexists(const char *)
判断指定路径的文件是否存在。