DEV Community

Discussion on: Standard Template Library in C++

Collapse
 
sandordargo profile image
Sandor Dargo

In production environment never ever use <bits/stdc++.h>. It will blow the size of your software as it includes so many things, plus it's not portable between different compilers.

Collapse
 
abhishekchandra2522k profile image
Abhishek Chandra

True! Thanks for pointing it out. I was explaining STL from competitive programming point of view. 😅

Collapse
 
sandordargo profile image
Sandor Dargo

Ok, that I didn't think about. So competitive programmers don't use clang or msvcc?

Thread Thread
 
abhishekchandra2522k profile image
Abhishek Chandra

Actually, I think most of the competitive programmers code directly on the platforms like hackerrank, geeksforgeeks etc. where bits/stdc++.h is already included in the directives.😅