Re: Brat Problems

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Wed Jun 07 2000 - 13:37:36 EDT

  • Next message: J. H. Lee: "Minor changes in Monitoring programs for C1 and BB"

    Hi Flemming et al, 
    
    > Christian, Here is the 64 cent question why is fFileName const? It is not declared as such
    > explicitly
    > e.g. Char_t is just char - is it because of the explicit decalration of [256] ?
    
    While I have investigated further (i.e., looked into the standard) I
    believe it's because of the final "const"
    
        const Char_t* GetFileName(void) const { return fFileName; }
                                        ^^^^^
                                        |||||
    
    but I'm not sure. 
    
    Oh, and I should apologize to Peter. I misread his email to say 
    
        const Char_t* GetFileName(void) { return fFileName; }
    
    and not, 
    
        const Char_t* GetFileName(void) const { return fFileName; }
    
    As I my self later on proposed. Sorry about that Peter! 
    
    Cheers, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 13:42:07 EDT