Home | History | Annotate | Download | only in stlport
      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 #ifndef _STLP_COMPLEX
     20 
     21 #ifndef _STLP_OUTERMOST_HEADER_ID
     22 #  define _STLP_OUTERMOST_HEADER_ID 0x10
     23 #  define _STLP_COMPLEX
     24 #  include <stl/_prolog.h>
     25 #endif
     26 
     27 #if (_STLP_OUTERMOST_HEADER_ID == 0x10)
     28 // This header declares the template class complex, as described in
     29 // in the C++ Standard.  Single-precision complex numbers
     30 // are complex<float>, double-precision are complex<double>, and
     31 // quad precision are complex<long double>.
     32 
     33 // Note that the template class complex is declared within namespace
     34 // std, as called for by the draft C++ standard
     35 #  ifndef _STLP_INTERNAL_COMPLEX
     36 #    include <stl/_complex.h>
     37 #  endif
     38 #endif
     39 
     40 #if (_STLP_OUTERMOST_HEADER_ID != 0x10) || defined (_STLP_IMPORT_VENDOR_STD)
     41 #  if defined (_STLP_HAS_INCLUDE_NEXT)
     42 #    include_next <complex>
     43 #  else
     44 #    include _STLP_NATIVE_HEADER(complex)
     45 #  endif
     46 #endif
     47 
     48 #if (_STLP_OUTERMOST_HEADER_ID ==  0x10 )
     49 #  include <stl/_epilog.h>
     50 #  undef _STLP_OUTERMOST_HEADER_ID
     51 #endif
     52 
     53 #endif /* _STLP_COMPLEX */
     54 
     55 // Local Variables:
     56 // mode:C++
     57 // End:
     58