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: C++ PATCHes to add __is_trivially_*


On 1 October 2014 11:11, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi again,
>
> On 10/01/2014 12:48 AM, Ville Voutilainen wrote:
>>
>> The intrinsics still fail to support certain variadic cases, such as
>> template <class T, class... Args> void bar() {
>> static_assert(__is_trivially_constructible(T, Args...), ""); }
>
> ... depending on your arrangements with Jason you may or may not want to
> open a separate bug report for this...

It's a tad incorrect/premature to close c++/63362 as resolved yet.
is_trivially_constructible
is a variadic trait, so while that example is for a function template,
we need to do exactly
that sort of an operation in the trait class, so the intrinsic needs
to support variadic
arguments. I don't think the status of the bug is a big deal though,
I'm sure Jason knows
this issue. :)


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