Re: [Cppcms-users] Compilation errors using gcc 4.5 and c++0x
Brought to you by:
artyom-beilis
From: Stanimir M. <sta...@zo...> - 2010-06-28 09:07:08
|
Yes, but using C++0x gives much benefits already and it is really good that you support it to some extend already. Something that already was discussed, is the deprecation of auto_ptr in favor of unique_ptr. At the moment c++0x is enabled, a warning about this is emitted. Is it possible to substitute auto_ptr to unique_ptr the same way you do with auto and __typeof__? It is not a big deal but it looks much better this way. Stanimir On Sat, Jun 26, 2010 at 10:44 PM, Artyom <art...@ya...> wrote: >> >> Actually, CppCms compiles fine without the --std=c++0x >> flag. I saw you >> are using the auto keyword in the templates loops if >> available and >> since I am using it too, decided to give it to CppCms >> also. > > Note, I don't really need C++0x mode to get nice way to iterate > over collections. > > Under gcc, intel and even SunStudo (I used to support) > compilers I have typeof or __typeof__ which is very close to decltype > so auto is not so necessary, but still I'm really looking forward > for it in all modern compilers as for C++0x at all. > > If today C++0x was supported by most compilers I would not need > half of Booster today. > > Regards > Artyom > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |