Does the C++ standard include what standard headers must include?

Viewed 130

On visualstudio the header "thread" includes all of the following headers:

#include <exception>
#include <iosfwd>
#include <functional>
#include <chrono>
#include <memory>
#include <tuple>

So now we can just use this:

#include <thread>
using namespace std;
this_thread::sleep_for(1s);

So on VS you dont have to include "chrono" again to be able to use 1s 1000ms etc. Can we assume that always includes on all platforms? Or more general, does the standard say what headers standard headers must include?

1 Answers
Related