From: Daniel Arndt Date: Mon, 7 Mar 2022 18:42:52 +0000 (-0500) Subject: boost::get -> std_cxx17::get X-Git-Tag: v9.4.0-rc1~404^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a0078647051a9a871ef8dc69c2703b9bb3ebe95;p=dealii.git boost::get -> std_cxx17::get --- diff --git a/include/deal.II/base/table_handler.h b/include/deal.II/base/table_handler.h index 2024c05cac..9c7974e18c 100644 --- a/include/deal.II/base/table_handler.h +++ b/include/deal.II/base/table_handler.h @@ -846,27 +846,27 @@ namespace internal // write first an identifier for the kind // of data stored and then the actual // data, in its correct data type - if (const int *p = boost::get(&value)) + if (const int *p = std_cxx17::get(&value)) { char c = 'i'; ar &c &*p; } - else if (const unsigned int *p = boost::get(&value)) + else if (const unsigned int *p = std_cxx17::get(&value)) { char c = 'u'; ar &c &*p; } - else if (const double *p = boost::get(&value)) + else if (const double *p = std_cxx17::get(&value)) { char c = 'd'; ar &c &*p; } - else if (const std::string *p = boost::get(&value)) + else if (const std::string *p = std_cxx17::get(&value)) { char c = 's'; ar &c &*p; } - else if (const std::uint64_t *p = boost::get(&value)) + else if (const std::uint64_t *p = std_cxx17::get(&value)) { char c = 'l'; ar &c &*p;