Changeset 3572 in Sophya for trunk/SophyaLib/SUtils/strutilxx.cc


Ignore:
Timestamp:
Feb 7, 2009, 10:50:34 PM (17 years ago)
Author:
cmv
Message:

char* -> const char* pour regler les problemes de deprecated string const... + comparaison unsigned signed + suppression EVOL_PLANCK rz+cmv 07/02/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SUtils/strutilxx.cc

    r2706 r3572  
    1313// considering char "sep" as a separator.
    1414// Vector is filled from its end (no reset done).
    15 // Tp write a "sep" char, use \'sep'
     15// To write a "sep" char, use \'sep'
    1616// Warning: separator "sep" could not be set to '\'
    1717// Ex: sep=' ': s="aaa   bbb cc d " -> vs=(aaa,bbb,cc,d)
     
    5555// - Fill "vs" at the end: NO RESET IS DONE
    5656// - If ',' is the separator, ",,," is c
    57 // That routine is much more rapid than FillVStringFrString altouch less general
     57// That routine is much more rapid than FillVStringFrString although less general
    5858//           (ex no '\' gestion is done)
    5959{
    6060 uint_4 ls = s.size();
    6161 if(ls<=0) return;
    62  bool sep_non_blanc = (separator==' ')? false: true;
     62 //bool sep_non_blanc = (separator==' ')? false: true;
    6363 char *str = new char[ls+2];
    6464
Note: See TracChangeset for help on using the changeset viewer.