StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Exception::Path Struct Reference

Segments under StormByte, already joined with a dot. More...

#include <StormByte/exception.hxx>

Collaboration diagram for StormByte::Exception::Path:

Public Member Functions

constexpr Path (std::string_view text={}) noexcept
 Wraps text.
 

Public Attributes

std::string_view text
 Joined segments. Empty means the root.
 

Detailed Description

Segments under StormByte, already joined with a dot.

Exists so a path cannot be mistaken for a format string. The view must live for the constructor call. It is not stored.

Constructor & Destructor Documentation

◆ Path()

constexpr StormByte::Exception::Path::Path ( std::string_view  text = {})
inlineexplicitconstexprnoexcept

Wraps text.

Parameters
textJoined segments, or empty.

Member Data Documentation

◆ text

std::string_view StormByte::Exception::Path::text

Joined segments. Empty means the root.


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