]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use std::remove_cv instead of boost::remove_cv.
authorDavid Wells <wellsd2@rpi.edu>
Thu, 27 Jul 2017 02:45:20 +0000 (22:45 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 27 Jul 2017 02:45:20 +0000 (22:45 -0400)
include/deal.II/base/array_view.h

index e629a122136e49a7c6b1a92a5ad4a0fb0d3590f0..5b0d394d99aeb25b6d067c60d616ec846e5f0a4e 100644 (file)
@@ -20,8 +20,7 @@
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/table.h>
 
-#include <boost/type_traits/remove_cv.hpp>
-
+#include <type_traits>
 #include <vector>
 
 DEAL_II_NAMESPACE_OPEN
@@ -114,7 +113,7 @@ public:
    * non-@p const view to a @p const view, akin to converting a non-@p const
    * pointer to a @p const pointer.
    */
-  ArrayView (const ArrayView<typename boost::remove_cv<value_type>::type> &view);
+  ArrayView (const ArrayView<typename std::remove_cv<value_type>::type> &view);
 
   /**
    * Return the size (in elements) of the view of memory this object
@@ -176,7 +175,7 @@ ArrayView<ElementType>::ArrayView(value_type        *starting_element,
 
 template <typename ElementType>
 inline
-ArrayView<ElementType>::ArrayView(const ArrayView<typename boost::remove_cv<value_type>::type> &view)
+ArrayView<ElementType>::ArrayView(const ArrayView<typename std::remove_cv<value_type>::type> &view)
   :
   starting_element (view.starting_element),
   n_elements(view.n_elements)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.