*
* <h3>Linear Operator</h3>
*
- * If deal.II is configured with C++11 support (i.e.,
- * <code>DEAL_II_WITH_CXX11=ON</code> or <code>DEAL_II_WITH_CXX14=ON</code>
- * during configuration) a versatile mechanism for storing the concept of a
- * linear operator is available. (For questions about C++11, see
- * @ref CPP11 .)
- *
- * This is done with a LinearOperator class that, like
+ * deal.II includes support for describing linear transformations in a very
+ * general way. This is done with a LinearOperator class that, like
* @ref ConceptMatrixType "the MatrixType concept",
* defines a minimal interface for <i>applying</i> a linear operation on a
* vector.
DEAL_II_WITH_ARPACK=1 \
DEAL_II_ARPACK_WITH_PARPACK=1 \
DEAL_II_WITH_BOOST=1 \
- DEAL_II_WITH_CXX11=1 \
DEAL_II_WITH_CXX14=1 \
+ DEAL_II_WITH_CXX17=1 \
DEAL_II_WITH_CUDA=1 \
DEAL_II_WITH_GSL=1 \
DEAL_II_WITH_HDF5=1 \
checking which language version flags work with the detected compiler. For
example: if <code>CMake</code> detects <code>GCC 5.1</code> or <code>Clang
3.6</code>, <acronym>deal.II</acronym> will be compiled
- in <code>C++14</code> mode unless either <code>C++14</code>
- or <code>C++11</code> is explicitly disabled. Another example:
- if <code>DEAL_II_WITH_CXX11=ON</code> is passed to <code>CMake</code>,
- then <acronym>deal.II</acronym> will check if the compiler supports enough
- parts of the <code>C++11</code> <em>and</em>
- <code>C++14</code> language standards. <code>CMake</code> will not fail in
- this example just because the compiler does not support
- <code>C++14</code>, but <code>CMake</code> <em>will</em> fail if the
- compiler does not support enough of <code>C++11</code>.
+ in <code>C++14</code> mode unless <code>C++14</code> support is explicitly
+ disabled. Another example: if <code>DEAL_II_WITH_CXX14=ON</code> is passed
+ to <code>CMake</code>, then <acronym>deal.II</acronym> will check if the
+ compiler supports enough of the <code>C++14</code> standard to enable
+ the <code>C++14</code>-specific parts of the library. The configuration
+ process will fail if a feature flag is passed in that cannot be supported.
The remaining flags are set to <code>ON</code> if an external package is
found or to <code>OFF</code> otherwise. By explicitly setting it to off
# #
###########################################################################
-#
-# C++11 support:
-#
-# SET(DEAL_II_WITH_CXX11 ON CACHE BOOL
-# "deal.II using C++11 language standard"
-# )
-#
-# A custom C++11 flag can be set by setting
-#
-# SET(DEAL_II_CXX_VERSION_FLAG "-std=c++0x" CACHE STRING "")
-#
-
#
# C++14 support:
#
#include "../tests.h"
-#ifdef DEAL_II_WITH_CXX11
-
#include <deal.II/base/tensor.h>
#include <deal.II/grid/tria.h>
#include <deal.II/distributed/tria.h>
test<2>();
}
-
-#else
-int main(int argc, char *argv[])
-{
- Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
- mpi_initlog();
- deallog << "Ok" << std::endl;
-}
-#endif