PPL Logo

PUP::as_bytes< T > Class Template Reference

Traits class: decide if the type T can be safely pupped as raw bytes. More...

#include <pup.h>


Public Types

enum  { value = 1 }
enum  { value = 1 }


Detailed Description

template<class T>
class PUP::as_bytes< T >

Traits class: decide if the type T can be safely pupped as raw bytes.

This is true of classes that do not contain pointers and do not need pup routines. Use this like: if (PUP::as_bytes<someClass>::value) { ... }

Definition at line 940 of file pup.h.


Member Enumeration Documentation

template<class T>
anonymous enum

Enumerator:
value 

Definition at line 942 of file pup.h.

template<class T>
anonymous enum

Enumerator:
value 

Definition at line 944 of file pup.h.


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

Generated on Mon Sep 21 08:34:18 2020 for Charm++ by  doxygen 1.5.5