@mortalwombat (chai) posted a new topic, subject "My code works without #include <string>". It read:

   I am using Visual Studio 19. The code compiles and runs fine. 
    
    2019-07-07.png3440×1440 987 KB

Then @Corendiel (Yann Mathieu) said

    From https://stackoverflow.com/questions/16506095/do-i-have-to-use-include-string-beside-iostream
    
    StackOverflow:
    
    > Yes, you have to include what you use. It's not mandated that standard headers include one another (with a few exceptions IIRC). It might work now, but might fail on a different compiler.
    > 
    > In your case, apparently `<iostream>` includes `<string>` , directly or indirectly, but don't rely on it.
    
    Visual Studio 19 probably uses a more advanced C++ compiler where string is already included in iostream.

Then @mortalwombat (chai) said

    Thanks.


{'source': 'discourse', 'url': 'https://community.gamedev.tv/t/my-code-works-without-include-string/109216', 'title': 'My code works without #include <string>', 'views': 828, 'has_accepted_answer': False, 'word_count': 106, 'like_count': 0, 'reply_count': 1, 'participant_count': 2, 'posts': 3, 'tags': '7_bc_urc unreal-cpp', 'author': '@mortalwombat (chai)', 'participants': '@mortalwombat (chai), @Corendiel (Yann Mathieu)', 'image_url': ['https://community.gamedev.tv/uploads/db2322/optimized/3X/7/2/720cc338488c0c2cb90c587395791e82877cb249_2_1024x428.png'], 'created_at': '2019-07-07T15:08:56.611Z', 'last_posted_at': '2020-05-18T12:43:28.530Z'}