Skip to content
Snippets Groups Projects
Commit c171cf18 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'feature/use-std-void_t' into 'master'

Use std::void_t instead of Dune::void_t

See merge request core/dune-istl!426
parents b7f4a70e 95b9dc00
No related branches found
No related tags found
1 merge request!426Use std::void_t instead of Dune::void_t
Pipeline #34711 passed
#ifndef DUNE_ISTL_ALLOCATOR_HH
#define DUNE_ISTL_ALLOCATOR_HH
#include <dune/common/typetraits.hh>
#include <memory>
#include <type_traits>
#include <dune/common/typetraits.hh>
namespace Dune {
......@@ -18,7 +20,7 @@ namespace Dune {
};
template<typename T>
struct DefaultAllocatorTraits<T, void_t<typename T::allocator_type> >
struct DefaultAllocatorTraits<T, std::void_t<typename T::allocator_type> >
{
using type = typename T::allocator_type;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment