-
Notifications
You must be signed in to change notification settings - Fork 1
Cpp11 transition
freundlich edited this page Dec 14, 2012
·
10 revisions
This list only contains items that can be forgotten to do. Things that have to be replaced anyway because they were removed from fcppt are not listed here.
- Replace all enums with enum classes, getting rid of the special "type" namespace. Also forward-declare them.
- Replace fcppt::container::array with std::array
- Replace std::tr1 with std::
- Replace boost.thread with std.thread
- Replace boost.random with std.random
- Replace boost.type_traits with std.type_traits (boost.mpl's integer comparison structs (like equal_to) have trouble with std type traits)
- Replace boost/next_prior by the stdlib functions.
- Replace for(foo::iterator it = ...) loops by range based for
- Replace ptr containers of types T that are noncopyable by normal containers of movable types, if T is not polymorphic
- Replace shared_ptrs where we can move unique_ptrs
- Use lambdas where appropriate, especially to replace extra function objects in detail or anonymous namespaces, or phoenix expressions