SpECTRE  v2024.09.29
Parallel::is_pupable< T, U > Struct Template Reference

Check if type T has operator| defined for Charm++ serialization. More...

#include <TypeTraits.hpp>

Detailed Description

template<typename T, typename U = void>
struct Parallel::is_pupable< T, U >

Check if type T has operator| defined for Charm++ serialization.

Details

Inherits from std::true_type if the type T has operator| defined, otherwise inherits from std::false_type

Usage

For any type T,

using result = tt::is_pupable<T>;

Returns: std::bool_constant

Semantics: If the type T has operator| defined, then

typename result::type = std::true_type;

otherwise

typename result::type = std::false_type;

Example

static_assert(Parallel::is_pupable_v<PupableClass>);
typename is_pupable< T >::type is_pupable_t
Definition: TypeTraits.hpp:206
Check if type T has operator| defined for Charm++ serialization.
Definition: TypeTraits.hpp:193
See also
has_pup_member
Template Parameters
Tthe type to check

The documentation for this struct was generated from the following file: