Re: C++ PATCH for C++17 class template placeholders

2016-10-05 Thread Jason Merrill
On Tue, Oct 4, 2016 at 11:11 PM, Jason Merrill wrote: > On Tue, Oct 4, 2016 at 4:42 PM, Jason Merrill wrote: >> C++17 adds the ability to omit the template arguments for a class >> template when declaring a variable with an initializer, much like auto >> but

Re: C++ PATCH for C++17 class template placeholders

2016-10-05 Thread Jason Merrill
On Wed, Oct 5, 2016 at 10:47 AM, Marc Glisse wrote: > On Wed, 5 Oct 2016, Jason Merrill wrote: >> On Wed, Oct 5, 2016 at 5:29 AM, Marek Polacek wrote: >>> On Wed, Oct 05, 2016 at 08:58:08AM +0200, Marc Glisse wrote: On Tue, 4 Oct 2016, Jason Merrill

Re: C++ PATCH for C++17 class template placeholders

2016-10-05 Thread Marc Glisse
On Wed, 5 Oct 2016, Jason Merrill wrote: On Wed, Oct 5, 2016 at 5:29 AM, Marek Polacek wrote: On Wed, Oct 05, 2016 at 08:58:08AM +0200, Marc Glisse wrote: On Tue, 4 Oct 2016, Jason Merrill wrote: C++17 adds the ability to omit the template arguments for a class template

Re: C++ PATCH for C++17 class template placeholders

2016-10-05 Thread Jason Merrill
On Wed, Oct 5, 2016 at 5:29 AM, Marek Polacek wrote: > On Wed, Oct 05, 2016 at 08:58:08AM +0200, Marc Glisse wrote: >> On Tue, 4 Oct 2016, Jason Merrill wrote: >> >> > C++17 adds the ability to omit the template arguments for a class >> > template when declaring a variable

Re: C++ PATCH for C++17 class template placeholders

2016-10-05 Thread Marek Polacek
On Wed, Oct 05, 2016 at 08:58:08AM +0200, Marc Glisse wrote: > On Tue, 4 Oct 2016, Jason Merrill wrote: > > > C++17 adds the ability to omit the template arguments for a class > > template when declaring a variable with an initializer, much like auto > > but supporting a wider variety of

Re: C++ PATCH for C++17 class template placeholders

2016-10-05 Thread Marc Glisse
On Tue, 4 Oct 2016, Jason Merrill wrote: C++17 adds the ability to omit the template arguments for a class template when declaring a variable with an initializer, much like auto but supporting a wider variety of initialization. This is intended to replace functions like make_tuple. Nice. Is

Re: C++ PATCH for C++17 class template placeholders

2016-10-04 Thread Jason Merrill
On Tue, Oct 4, 2016 at 4:42 PM, Jason Merrill wrote: > C++17 adds the ability to omit the template arguments for a class > template when declaring a variable with an initializer, much like auto > but supporting a wider variety of initialization. This is intended to > replace

C++ PATCH for C++17 class template placeholders

2016-10-04 Thread Jason Merrill
C++17 adds the ability to omit the template arguments for a class template when declaring a variable with an initializer, much like auto but supporting a wider variety of initialization. This is intended to replace functions like make_tuple. Tested x86_64-pc-linux-gnu, applying to trunk. commit