Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #15249

"f() const;", defined inside a struct ( i.e. a "class" ). 

From @Jeff-Relf.Me
Newsgroups comp.lang.c++
Subject "f() const;", defined inside a struct ( i.e. a "class" ). 
Date 2012-04-08 12:56 -0700
Organization Glorb Internet Services, http://www.glorb.com
Message-ID <Jeff-Relf.Me@2012_Apr.8^0.56^PM> (permalink)
References <d8d21a09-f8b8-4644-8967-8095ee1c6eca@f27g2000yqc.googlegroups.com> <e0dfbedf-9308-48b4-ac89-3ce8d63497a1@h12g2000yqi.googlegroups.com>

Show all headers | View raw


<PRE>
"f() const;", defined inside a struct ( i.e. a "class" )
can't change the variables in the struct.

I say "struct" because, to my mind, that's what it is, not a "class".

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Question on Basic Function Syntax Danny Gratzer <danny.gratzer@gmail.com> - 2012-04-08 12:40 -0700
  Re: Question on Basic Function Syntax Paul N <gw7rib@aol.com> - 2012-04-08 12:42 -0700
    "f() const;", defined inside a struct ( i.e. a "class" ).  @Jeff-Relf.Me - 2012-04-08 12:56 -0700
      Re: "f() const;", defined inside a struct ( i.e. a "class" ).  danny.gratzer@gmail.com - 2012-04-08 13:11 -0700
        Re: "f() const;", defined inside a struct ( i.e. a "class" ).  Rui Maciel <rui.maciel@gmail.com> - 2012-04-08 22:22 +0100
      Re: "f() const;", defined inside a struct ( i.e. a "class" ).  danny.gratzer@gmail.com - 2012-04-08 13:04 -0700
        Re: "f() const;", defined inside a struct ( i.e. a "class" ).  Victor Bazarov <v.bazarov@comcast.invalid> - 2012-04-08 16:46 -0400
          Re: "f() const;", defined inside a struct ( i.e. a "class" ).  Marc <marc.glisse@gmail.com> - 2012-04-08 21:03 +0000
          Re: "f() const;", defined inside a struct ( i.e. a "class" ).  "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-04-08 23:35 +0200
      Re: "f() const;", defined inside a struct ( i.e. a "class" ).  nick_keighley_nospam@hotmail.com - 2012-04-10 04:05 -0700
    Re: Question on Basic Function Syntax Juha Nieminen <nospam@thanks.invalid> - 2012-04-09 08:03 +0000
      Re: Question on Basic Function Syntax Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-04-10 14:12 +0000
        Re: Question on Basic Function Syntax Juha Nieminen <nospam@thanks.invalid> - 2012-04-10 14:30 +0000
          Re: Question on Basic Function Syntax Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-04-10 21:57 +0000
    Re: Question on Basic Function Syntax Bo Persson <bop@gmb.dk> - 2012-04-09 14:22 +0200

csiph-web