pupene  0.2.0
Namespaces | Functions
pup-core.h File Reference

Helpers for writing pup functions. More...

#include "pup-pupper.h"
Include dependency graph for pup-core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pupene::fns
 

Functions

template<typename P , typename Iterable , typename = enable_if_pup_iterable<Iterable>>
void pupene::fns::pup_iterable (Pupper< P > &p, Iterable &container, const Meta &meta)
 Pups most STL-like containers, including strings. More...
 
template<typename P , typename T , typename Fn >
void pupene::fns::pup_object (Pupper< P > &p, T &object, const Meta &meta, Fn &&body_fn)
 Describes a type by enumerating its members, used in conjunction with pup() implementations. More...
 
template<typename P , typename Iterable , typename BodyFn >
void pupene::fns::pup_object_container (Pupper< P > &p, Iterable container, const Meta &meta, BodyFn &&body_fn)
 A pup_object() for dealing with iterable types. More...
 

Detailed Description

Helpers for writing pup functions.

pup_object() is the default go-to for pup() implementations.

Definition in file pup-core.h.