From 58f981a98bbd712537b530e20a072855042a23a4 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 6 Nov 1998 21:21:32 +0000 Subject: [PATCH] Initial revision. --- fg_traits.hxx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 fg_traits.hxx diff --git a/fg_traits.hxx b/fg_traits.hxx new file mode 100644 index 000000000..1547bcaa8 --- /dev/null +++ b/fg_traits.hxx @@ -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 struct char_traits{}; + +FG_TEMPLATE_NULL +struct char_traits +{ + 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 -- 2.39.5