Ignore:
Timestamp:
Apr 29, 2018, 11:56:01 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
b91e8c1
Parents:
534d84e
Message:

temporarily remove printing of char16_t, char_32_t and wchar_t until they become unique types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/iostream.c

    r534d84e rb6dc097  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jan 25 13:09:28 2018
    13 // Update Count     : 467
     12// Last Modified On : Sat Apr 28 13:08:25 2018
     13// Update Count     : 469
    1414//
    1515
     
    193193} // ?|?
    194194
    195 forall( dtype ostype | ostream( ostype ) )
    196 ostype & ?|?( ostype & os, const char16_t * str ) {
    197         if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
    198         fmt( os, "%ls", str );
    199         return os;
    200 } // ?|?
    201 
    202 #if ! ( __ARM_ARCH_ISA_ARM == 1 && __ARM_32BIT_STATE == 1 ) // char32_t == wchar_t => ambiguous
    203 forall( dtype ostype | ostream( ostype ) )
    204 ostype & ?|?( ostype & os, const char32_t * str ) {
    205         if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
    206         fmt( os, "%ls", str );
    207         return os;
    208 } // ?|?
    209 #endif // ! ( __ARM_ARCH_ISA_ARM == 1 && __ARM_32BIT_STATE == 1 )
    210 
    211 forall( dtype ostype | ostream( ostype ) )
    212 ostype & ?|?( ostype & os, const wchar_t * str ) {
    213         if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
    214         fmt( os, "%ls", str );
    215         return os;
    216 } // ?|?
     195// forall( dtype ostype | ostream( ostype ) )
     196// ostype & ?|?( ostype & os, const char16_t * str ) {
     197//      if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
     198//      fmt( os, "%ls", str );
     199//      return os;
     200// } // ?|?
     201
     202// #if ! ( __ARM_ARCH_ISA_ARM == 1 && __ARM_32BIT_STATE == 1 ) // char32_t == wchar_t => ambiguous
     203// forall( dtype ostype | ostream( ostype ) )
     204// ostype & ?|?( ostype & os, const char32_t * str ) {
     205//      if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
     206//      fmt( os, "%ls", str );
     207//      return os;
     208// } // ?|?
     209// #endif // ! ( __ARM_ARCH_ISA_ARM == 1 && __ARM_32BIT_STATE == 1 )
     210
     211// forall( dtype ostype | ostream( ostype ) )
     212// ostype & ?|?( ostype & os, const wchar_t * str ) {
     213//      if ( sepPrt( os ) ) fmt( os, "%s", sepGetCur( os ) );
     214//      fmt( os, "%ls", str );
     215//      return os;
     216// } // ?|?
    217217
    218218forall( dtype ostype | ostream( ostype ) )
Note: See TracChangeset for help on using the changeset viewer.