Initial revision.
This commit is contained in:
parent
c2ed65b6d7
commit
58f981a98b
1 changed files with 23 additions and 0 deletions
23
fg_traits.hxx
Normal file
23
fg_traits.hxx
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef _FG_TRAITS_HXX
|
||||
#define _FG_TRAITS_HXX
|
||||
|
||||
#include "Include/compiler.h"
|
||||
|
||||
#ifndef FG_HAVE_TRAITS
|
||||
|
||||
// Dummy up some char traits for now.
|
||||
template<class charT> struct char_traits{};
|
||||
|
||||
FG_TEMPLATE_NULL
|
||||
struct char_traits<char>
|
||||
{
|
||||
typedef char char_type;
|
||||
typedef int int_type;
|
||||
typedef streampos pos_type;
|
||||
typedef streamoff off_type;
|
||||
|
||||
static int_type eof() { return EOF; }
|
||||
};
|
||||
#endif // FG_HAVE_TRAITS
|
||||
|
||||
#endif // _FG_TRAITS_HXX
|
Loading…
Add table
Reference in a new issue