![]() |
Reference documentation for deal.II version 9.6.0
|
#include <deal.II/base/template_constraints.h>
A concept that tests whether a given template argument is a deal.II vector type. This concept is used in many places, such as for the functions in namespace VectorTools, where functions take a vector as argument, but the type of the vector is a template argument. The concept ensures that these functions cannot be called with an int
argument, for example, for which the declaration without the concept would be perfectly valid but for which one would later get a linker error because the function is only instantiated for deal.II vector types.
Definition at line 863 of file template_constraints.h.