Re: optional typename without name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8 February 2010 12:50, Frank Winter <frank.winter@xxxxxxx> wrote:
>
> Would it be possible for someone to explain why the optional argument
> typename std::allocator<void>::const_pointer = 0 is there?
>
> It's a typename that can be suppressed. Why to write it in the first place
> then? Is this written to disambiguate something?
>

I think the typename keyword is a mistake.

The argument, on the other hand, is intended as a locality hint.  The
idea is that std::list could get less atrocious coherency, for
instance.  Whether anything actually uses it -- either as consumer or
provider -- I have no idea.

~ Scott

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux