Can we already use c++0x/c++11 stuff in wesnoth? My guess is not yet, but I
noticed env.AppendUnique(CXXFLAGS = "-std=c++0x") in the SConstruct file,
so I'm wondering.

I'd like to use boost::make_shared for much more efficient initialization
of shared pointers, but to work properly it needs rvalue references and
variadic templates from c++11.

Those are already implemented in g++ 4.3 which is in debian stable i.e.
AFAIK the baseline for wesnoth compiler/librairies. But I think we'd need
every build system to use the std=c++0x flag, and I don't know what's the
situation on windows.

Cheers,
Gabriel aka gabba
_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to