Loading [MathJax]/extensions/TeX/newcommand.js
 deal.II version GIT relicensing-2848-g5241f990fb 2025-03-16 19:30:00+00:00
\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}} \newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=} \newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]} \newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
concepts::is_contiguous_container Concept Reference

#include <deal.II/base/template_constraints.h>

Concept definition

template<typename C>
concept concepts::is_contiguous_container = requires(C &c) {
{
std::data(c)
};
{
std::size(c)
};
}

Detailed Description

A concept that identifies whether a template argument C represents a contiguous container. A contiguous container is a container object (such as std::vector, std::array, or boost::container::small_vector that stores its elements in one contiguous array in which we access all elements via a pointer to the first element plus an offset. In contrast, linked lists, maps, and similar objects are typically not stored as contiguous containers.

Definition at line 701 of file template_constraints.h.