Dune Core Modules (2.5.2)

Dune::detail::voider<... > Struct Template Reference

Helper to make void_t work with gcc versions prior to gcc 5.0. More...

#include <dune/common/typetraits.hh>

Detailed Description

template<class...>
struct Dune::detail::voider<... >

Helper to make void_t work with gcc versions prior to gcc 5.0.

This was not a compiler bug, but an accidental omission in the C++11 standard (see N3911, CWG issue 1558). It is not clearly specified what happens with unused template arguments in template aliases. The developers of GCC decided to ignore them, thus making void_t equivalent to void. With gcc 5.0 this was changed and the voider-hack is no longer needed.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 1, 22:29, 2024)