In the light of more recent information:
OpenFOAM follows the C++11 standard without any exception at the time of writing. Therefore, you can use any C++ containers of this standard within OpenFOAM.
OpenFOAM, at least .com version, has been updated very long time ago to entirely align the ISO/IEC 14882:2011 (i.e. C++11) standard. The main reason why the more recent C++ standards were not considered is the fact that the compiler support by the majority of compilers for the C++14 and above is not covering the entire standard yet (see compiler support tables), and OpenFOAM must consider compilers other than Gcc and Clang.
Additionally, the Standard Template Library (i.e. STL) is not the C++ standard (see). Having said that, all major OpenFOAM low-level containers (e.g. UList
) use almost all the utilities provided or abstracted by the STL in deep-down level, e.g. iterator
s.
Using the containers from an implementation of a C++ standard (e.g., Gcc or Clang implements the standards or STL components in different ways in low level) are not suitable for easily and robustly developing, maintaining and modifying the levels of abstraction required by numerical continuum mechanics problems, but OpenFOAM is, subjectively, in a very elegant way. And the containers you have mentioned are not the ones a typical user can interact with.
Also, it is not true that OpenFOAM does not or will not bring the external linear solver suites into play. For example, HPC-OpenFOAM Technical Committee has been testing PETSc-OpenFOAM for more than a year. GPU support discussion and tests are even decade older! Nvidia, Intel, and AMD are close contact with OpenFOAM as well in this regard.
The problem is that the OpenFOAM development is on the shoulders of the few who has tons of things on their plates without chopped support. Some software companies use OpenFOAM for their work horse, and sell their products with mombo-jombo legal tricks (you know them). This hampers the healthy level of development that OpenFOAM can achieve. Despite these bloodsuckers, thanks to the OpenFOAM community and ethical industrial partners, OpenFOAM still rocks.
EDIT: Here petsc4Foam provided by the official OpenFOAM.
EDIT-2: Here PETSc in OpenFOAM-v2006.