Unfortunately that's not accurate. As I said during the session, no released version of MSVC supports the feature properly:
https://msdn.microsoft.com/en-us/library/hh567368.aspx#defaultedanddeleted As I understand it, that's also the reason that defaulted and deleted functions are listed as partial in this table for VS 2013: http://blogs.msdn.com/b/vcblog/archive/2015/04/29/c-11-14-17-features-in-vs-2015-rc.aspx In a nutshell, we'll have to wait for VS 2015, and that's going to be a while. --Louai > -----Original Message----- > From: development-bounces+louai.al-khanji=theqtcompany.com@qt- > project.org [mailto:development-bounces+louai.al- > khanji=theqtcompany....@qt-project.org] On Behalf Of Thiago Macieira > Sent: Sunday, June 14, 2015 8:08 PM > To: development@qt-project.org > Subject: Re: [Development] QtCS: Notes from Modern C++ session > > On Saturday 13 June 2015 19:33:14 Gunnar Roth wrote: > > >>>> Not available for use are: > > >>>> * = default, > > >>>> * = deleted, > > >> > > >> Where are these not supported? I have code that (AFAIK) has been > using > > >> these already, and IIRC our compiler requirements are lower. > > > > > > GCC requires 4.7 for this. I think we were discussing whether our > minimum > > > is 4.6 or 4.7. > > > > I am quite sure that this only works since vs 2013, Would be glad if > proven > > wrong. see https://msdn.microsoft.com/en-us/library/dn457344.aspx > > <https://msdn.microsoft.com/en-us/library/dn457344.aspx> > > The best list of what works and what doesn't can be found here: > > http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qcompilerd > etection.h#n447 > http://code.woboq.org/qt5/qtbase/src/corelib/global/qcompilerdetection. > h.html#447 > > Just scroll down to your compiler. > > For this particular feature in MSVC, it's listed as of MSVC 2012: > > http://code.woboq.org/qt5/qtbase/src/corelib/global/qcompilerdetection. > h.html#851 > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development