Add ratio tester and a copy of the libstdc++ header.
I added this to gcc trunk in 2011.
This was been metioned on the std mailing list by others in connection with filesystem in particular.