SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Parallel::has_pup_member< T, typename > Struct Template Reference

Check if T has a pup member function. More...

#include <TypeTraits.hpp>

Detailed Description

template<typename T, typename = std::void_t<>>
struct Parallel::has_pup_member< T, typename >

Check if T has a pup member function.

Details

Inherits from std::true_type if the type T has a pup(PUP::er&) member function, otherwise inherits from std::false_type

Usage

For any type T,

using result = tt::has_pup_member<T>;

Returns: std::bool_constant

Semantics: If the type T has a pup(PUP::er&) member function, then

typename result::type = std::true_type;

otherwise

typename result::type = std::false_type;

Example

See also
is_pupable
Template Parameters
Tthe type to check

The documentation for this struct was generated from the following file:
  • src/Parallel/TypeTraits.hpp