head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2002.09.07.01.50.40; author curt; state Exp; branches; next 1.3; 1.3 date 2002.08.31.19.01.57; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.18.54.04; author curt; state Exp; branches; next 1.1; 1.1 date 2002.02.15.17.22.01; author curt; state Exp; branches; next ; desc @@ 1.4 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# sg_traits.hxx

Go to the documentation of this file.

    00001
    00006 #ifndef _SG_TRAITS_HXX
    00007 #define _SG_TRAITS_HXX
    00008
    00009 #include <simgear/compiler.h>
    00010
    00011 #ifndef SG_HAVE_TRAITS
    00012
    00013 // Dummy up some char traits for now.
    00014 template<class charT> struct char_traits{};
    00015
    00016 SG_TEMPLATE_NULL
    00017 struct char_traits<char>
    00018 {
    00019     typedef char      char_type;
    00020     typedef int       int_type;
    00021     typedef streampos pos_type;
    00022     typedef streamoff off_type;
    00023
    00024     static int_type eof() { return EOF; }
    00025 };
    00026 #endif // SG_HAVE_TRAITS
    00027
    00028 #endif // _SG_TRAITS_HXX

@ 1.3 log @Oops, try again. @ text @d33 1 a33 1