*/
BlockMask() = default;
+ /**
+ * Deprecated constructor allowing implicit conversion.
+ */
+ template <typename = void>
+ DEAL_II_DEPRECATED_EARLY_WITH_COMMENT(
+ "Implicit conversions from std::vector<bool> to BlockMask are deprecated!")
+ BlockMask(const std::vector<bool> &block_mask);
+
/**
* Initialize an object of this type with a set of selected blocks specified
* by the argument.
#ifndef DOXYGEN
// -------------------- inline functions ---------------------
+template <typename>
+inline BlockMask::BlockMask(const std::vector<bool> &block_mask)
+ : block_mask(block_mask)
+{}
+
+
inline BlockMask::BlockMask(const std::vector<bool> &block_mask)
: block_mask(block_mask)
{}
*/
ComponentMask() = default;
+ /**
+ * Deprecated constructor allowing implicit conversion.
+ */
+ template <typename = void>
+ DEAL_II_DEPRECATED_EARLY_WITH_COMMENT(
+ "Implicit conversions from std::vector<bool> to ComponentMask are deprecated!")
+ ComponentMask(const std::vector<bool> &block_mask);
+
/**
* Initialize an object of this type with a set of selected components
* specified by the argument.
#ifndef DOXYGEN
// -------------------- inline functions ---------------------
+template <typename>
+inline ComponentMask::ComponentMask(const std::vector<bool> &component_mask)
+ : component_mask(component_mask)
+{}
+
+
inline ComponentMask::ComponentMask(const std::vector<bool> &component_mask)
: component_mask(component_mask)
{}