rpavlik/StandardCplusplus — pull request #1 by kibergus (2012-08-12 18:01:46+00:00)
Title: Bug fixes and C++11 features

Hello. I've made several enhancements to uclibc++. This pull request contains following features:

a48b7259f98e314125619977d937ad8e68a21cb4
Change dos lineendings to unix ones
commit 8f79ab6ffcdd20f4fa01b2d8f6fd02853374dd39
Replace dos lineendings to unix ones

Are safe one.

commit 5b8f1336f58cdf1508d23227422fdc1d2f144517
Compile operator new(std::size_t) even with arduino 1.0 because realization from arduino is badly broken.

Reverts to conflict with core arduino library because that library must be fixed. uclibc++ has correct realization of operator new and arduino's implementation is wrong.

commit 5ed51752b55652c9638d56731c08ac1390c9ff18
Lacking realization of std::terminate. Call terminate in case if exception can't be thrown.

Brings std::terminate which in original uclibc++ is copied from gcc headers. And I've changed func_exception.cpp in such a way that they call std::terminate instead of abort. It makes them standard conforming: according to 15.5.1.2 if exception is thrown and no suitable catch section is defined it's OK not to unwind a stack.
Beside that now you can reboot program immediately if things went wrong by setting own terminate handler.

commit 7ba8c3d73a227ba9e52f3e1d334bab056f403ff3
Add free functions begin(container) and end(container)

commit 116d391f9b73510491f892eacdcc8123099f828e
std::move and std::forward

New shiny things from C++11 which I need in my project.

commit 1bc768b504c1621b035b9a6d521bd2d8b76477b2
gcc version 4.5.3 does not understand nothrow with constexpr. Neither it defines __cplusplus >= 201103L.

Make it work on my compiler. You can skip it if you don't like it

Thanks for the port.