* dealii::BoundingBox.
*/
template <int dim, class Number, std::size_t D>
- struct indexed_access<dealii::BoundingBox<dim, Number>, min_corner, D>
+ struct indexed_access<dealii::BoundingBox<dim, Number>,
+#if DEAL_II_BOOST_VERSION_GTE(1, 89, 0)
+ min_corner,
+#else
+ // Until Boost 1.88, max_corner was a
+ // static variable in a header file, which
+ // we can't export in the module wrapper
+ // for Boost. Use the variable's numeric
+ // value instead.
+ /*min_corner*/ 0,
+#endif
+ D>
{
/**
* Getter function for the D-th coordinate of the lower left corner of
* dealii::BoundingBox.
*/
template <int dim, class Number, std::size_t D>
- struct indexed_access<dealii::BoundingBox<dim, Number>, max_corner, D>
+ struct indexed_access<dealii::BoundingBox<dim, Number>,
+#if DEAL_II_BOOST_VERSION_GTE(1, 89, 0)
+ max_corner,
+#else
+ // Until Boost 1.88, max_corner was a
+ // static variable in a header file, which
+ // we can't export in the module wrapper
+ // for Boost. Use the variable's numeric
+ // value instead.
+ /*max_corner*/ 1,
+#endif
+ D>
{
/**
* Getter function for the D-th coordinate of the upper right corner of