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] | |
I'm finishing regtesting the below, which I consider better than instantiating a lot of templates for a single trait and/or using something like the old __in_array. Do you agree?
Besides that, I'm a little puzzled by this kind of code in tr1/ functional:
/** * @if maint * Retrieve the result type for a function type. * @endif */ template<typename _Res, typename... _ArgTypes> struct _Weak_result_type_impl<_Res(_ArgTypes...)> { typedef _Res result_type; };
and wanted to quickly double check with you that variadic functions are left out on purpose...
template<typename _Res, typename... _ArgTypes>
struct _Weak_result_type_impl<_Res(_ArgTypes......)>
{
typedef _Res result_type;
};
Cheers, Doug
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |