This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile-time cost of alias templates


On 18 December 2011 17:38, Jason Merrill wrote:
>
> Instantiating an alias is simpler, aliases are basically transparent.

That's good to know, as they also result in shorter, simpler code in many cases.

> However, this change would mean that any mangling exposure of
> __is_socketlike would change. ?But that may not be an issue since it's an
> internal type.

It should never be emitted in objects, only the value of its static
const bool value member affects mangling of anything instantiated, and
that value won't change.

Thanks for the quick answer.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]