A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
boundary.cc File Reference

The nodes library's exception boundary. More...

#include <memory>
#include <string>
#include <utility>
#include "a11/internal/exception_guard_impl.h"
#include "a11/nodes/internal/exception_guarded_factory.h"
#include "a11/nodes/node_map.h"
#include "a11/stores/chunk_store.h"

Namespaces

namespace  a11
 
namespace  a11::nodes
 
namespace  a11::nodes::internal
 

Functions

ChunkStoreFactory a11::nodes::internal::GuardFactory (ChunkStoreFactory factory)
 

Detailed Description

The nodes library's exception boundary.

Compiled with exceptions (see the exception policy block in cpp/CMakeLists.txt). A NodeMap's factory is the caller's – often a Python callable that builds a ChunkStore per node id – and NodeMap invokes it from its own frames, so it is wrapped here where a raised exception can still be caught. a11/exception_guard.h has the reasoning.