Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
shambase::context Struct Reference

A context containing a list of argument groups. More...

#include <shambase/include/shambase/exception_ctx.hpp>

+ Collaboration diagram for shambase::context:

Public Member Functions

template<typename... Args>
 context (Args &&...args_list)
 

Public Attributes

std::vector< arg_groupgroups
 

Detailed Description

A context containing a list of argument groups.

This struct is used to group argument groups under a named section when creating exceptions with context.

Definition at line 72 of file exception_ctx.hpp.

Constructor & Destructor Documentation

◆ context()

template<typename... Args>
shambase::context::context ( Args &&...  args_list)
inline

Definition at line 78 of file exception_ctx.hpp.

Member Data Documentation

◆ groups

std::vector<arg_group> shambase::context::groups

Definition at line 73 of file exception_ctx.hpp.


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