Re: const and standard types
From: cppsks (sksjava_at_hotmail.com)
Date: 08/28/04
- Next message: Siemel Naran: "Re: const and standard types"
- Previous message: Walt Karas: "Re: Problem with template using base class template in GCC"
- In reply to: Siemel Naran: "Re: const and standard types"
- Next in thread: Siemel Naran: "Re: const and standard types"
- Reply: Siemel Naran: "Re: const and standard types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Aug 2004 23:16:05 -0500
"Siemel Naran" <SiemelNaran@REMOVE.att.net> wrote in message
news:imcXc.516998$Gx4.305093@bgtnsc04-news.ops.worldnet.att.net...
> "cppsks" <sksjava@hotmail.com> wrote in message
> news:cgipa9$203$1@news.lsil.com...
> If you have a function and it receives a variable by value, but in the
> function definition you declare the value const, that's another story. Is
> this what you're asking about?
>
> void f(int);
> void f(const int i) {
> ...
> }
>
>
Thanks for the response to all. Just a quick question about the above
declartion and definition.
What does the above convention mean?
Thanks,
skscpp
- Next message: Siemel Naran: "Re: const and standard types"
- Previous message: Walt Karas: "Re: Problem with template using base class template in GCC"
- In reply to: Siemel Naran: "Re: const and standard types"
- Next in thread: Siemel Naran: "Re: const and standard types"
- Reply: Siemel Naran: "Re: const and standard types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|