stdcpp/src/complex_io_w.cpp
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 /*
       
     2  * Copyright (c) 1999
       
     3  * Silicon Graphics Computer Systems, Inc.
       
     4  *
       
     5  * Copyright (c) 1999 
       
     6  * Boris Fomitchev
       
     7  *
       
     8  * This material is provided "as is", with absolutely no warranty expressed
       
     9  * or implied. Any use is at your own risk.
       
    10  *
       
    11  * Permission to use or copy this software for any purpose is hereby granted 
       
    12  * without fee, provided the above notices are retained on all copies.
       
    13  * Permission to modify the code and to distribute modified code is granted,
       
    14  * provided the above notices are retained, and a notice that the code was
       
    15  * modified is included with the above copyright notice.
       
    16  *
       
    17  */ 
       
    18 
       
    19 # include "stlport_prefix.h"
       
    20 // #include <iterator>
       
    21 #include <complex>
       
    22 #include <istream>
       
    23 
       
    24 _STLP_BEGIN_NAMESPACE
       
    25 
       
    26 // Force instantiation of complex I/O functions
       
    27 
       
    28 #if !(defined (_STLP_NO_FORCE_INSTANTIATE) || defined (_STLP_NO_WCHAR_T))
       
    29 
       
    30 _STLP_OPERATOR_SPEC basic_istream<wchar_t, char_traits<wchar_t> >&  _STLP_CALL
       
    31 operator>>(basic_istream<wchar_t, char_traits<wchar_t> >&, complex<float>&);
       
    32 
       
    33 _STLP_OPERATOR_SPEC basic_istream<wchar_t, char_traits<wchar_t> >&  _STLP_CALL
       
    34 operator>>(basic_istream<wchar_t, char_traits<wchar_t> >&, complex<double>&);
       
    35 
       
    36 #ifndef _STLP_NO_LONG_DOUBLE
       
    37 _STLP_OPERATOR_SPEC basic_istream<wchar_t, char_traits<wchar_t> >&  _STLP_CALL
       
    38 operator>>(basic_istream<wchar_t, char_traits<wchar_t> >&, complex<long double>&);
       
    39 
       
    40 _STLP_OPERATOR_SPEC basic_ostream<wchar_t, char_traits<wchar_t> >&  _STLP_CALL
       
    41 operator<<(basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<long double>&);
       
    42 #endif
       
    43 
       
    44 _STLP_OPERATOR_SPEC basic_ostream<wchar_t, char_traits<wchar_t> >&  _STLP_CALL
       
    45 operator<<(basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<float>&);
       
    46 
       
    47 _STLP_OPERATOR_SPEC basic_ostream<wchar_t, char_traits<wchar_t> >&  _STLP_CALL
       
    48 operator<<(basic_ostream<wchar_t, char_traits<wchar_t> >&, const complex<double>&);
       
    49 
       
    50 # endif /* _STLP_NO_WCHAR_T */
       
    51 
       
    52 _STLP_END_NAMESPACE
       
    53 
       
    54 // Local Variables:
       
    55 // mode:C++
       
    56 // End:
       
    57