libc++ compliance

as specified by Andrei Zaharescu <cooperz@gmail.com>