Re: "Defaulted and deleting functions" with template members

2009-10-01 Thread Jason Merrill
On 09/15/2009 02:22 PM, Mark Zweers wrote: While experimenting with "Defaulted and deleting functions" on my brand-newly downloaded gcc-4.5 compiler, I've noticed the following: the order of '=default' and '=delete' matters with template member functions. I'm about to check in a fix for this,

Re: "Defaulted and deleting functions" with template members

2009-09-15 Thread Lawrence Crowl
On 9/15/09, Mark Zweers wrote: > While experimenting with "Defaulted and deleting functions" on my > brand-newly downloaded gcc-4.5 compiler, I've noticed the following: the > order of '=default' and '=delete' matters with template member functions. > > template > class NonCopyable { > public: >

Re: "Defaulted and deleting functions" with template members

2009-09-15 Thread Mark Zweers
On Tue, Sep 15, 2009 at 8:17 PM, Mark Zweers wrote: > > Hello, > > While experimenting with "Defaulted and deleting functions" on my brand-newly > downloaded gcc-4.5 compiler, I've noticed the following: the order of > '=default' and '=delete' matters with template member functions. > > template