I got an interesting question yesterday. I have some C++ code on Linux, which I might give to an Android-team. They asked whether I could omit usage of STL. This leads to a generic question of how you detect usage of STL in C++ code?
My best solutions, which is most likely not the nicest is to search for the following header files, remove them and compile.
#include <vector>
#include <deque>
#include <list>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <iterator>
#include <iterator>
#include <algorithm>
#include <numeric>
#include <numeric>
#include <functional>
#include <utility>
#include <memory>
Better solutions?