Due to more restrictive include policy template<class T1, class T2> struct pair
is not already defined in std at this point. Unfortunately, a forward
declaration is invalid because it doesn't allow for instantiations:
"error: implicit instantiation of undefined template"
Furthermore, ISO/IEC C++ 2011 Standard, section 17.6.4.2.1 prohibits such
manipulation of the namespace std.
git-svn-id: https://svn.dealii.org/branches/branch_port_to_libcxx@30189
0785d39b-7218-0410-832d-
ea1e28bc413d
#include <deal.II/grid/tria_iterator_selector.h>
#include <deal.II/grid/cell_id.h>
+#include <utility>
-namespace std
-{
- template<class T1, class T2>
- struct pair;
-}
DEAL_II_NAMESPACE_OPEN
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams