2

Both header files I used, but I did not find any difference, then why they are seperated?

Shiva_Adasule
  • 769
  • 2
  • 9
  • 14
  • 12
    FWIW, don't use either. Only include the exact headers that you need, not a catch all. – NathanOliver Aug 12 '19 at 12:44
  • 9
    Doesn't matter. They are internal files that you simply shouldn't include yourself. Also see [Why should I not #include ?](https://stackoverflow.com/questions/31816095/why-should-i-not-include-bits-stdc-h) – Some programmer dude Aug 12 '19 at 12:45
  • 3
    I would guess the TR version also includes proposed ([experimental](https://en.cppreference.com/w/cpp/experimental)) functionality. – rustyx Aug 12 '19 at 12:49
  • 2
    "_I did not find any difference_" - in my g++ installation there's a huge difference. The `tr1` version includes `tr1` versions of a lot of standard headers instead of the usual ones etc. And it can't be repeated enough: Don't use any of the two. – Ted Lyngmo Aug 12 '19 at 12:59

0 Answers0