Re: 100% Portable Atomic Reference Counted Pointer...
- From: "Dmitriy V'jukov" <dvyukov@xxxxxxxxx>
- Date: Mon, 11 Feb 2008 06:24:34 -0800 (PST)
On Feb 11, 4:10 pm, Hallvard B Furuseth <h.b.furus...@xxxxxxxxxxx>
wrote:
const on function arguments is pointless, though I suppose it
can help readability on large functions.
Const is pointless in function declarations, it doesn't affect
declaration. But it's not pointless in function declarations. This
won't compile:
void f(int const x)
{
x = 0;
}
Dmitriy V'jukov
.
- References:
- 100% Portable Atomic Reference Counted Pointer...
- From: Chris Thomasson
- Re: 100% Portable Atomic Reference Counted Pointer...
- From: Hallvard B Furuseth
- 100% Portable Atomic Reference Counted Pointer...
- Prev by Date: Re: 100% Portable Atomic Reference Counted Pointer...
- Next by Date: Re: Objects and recursive locking
- Previous by thread: Re: 100% Portable Atomic Reference Counted Pointer...
- Next by thread: Re: 100% Portable Atomic Reference Counted Pointer...
- Index(es):
Relevant Pages
|