|
StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
|
Wraps a module name for the component-prefixed Exception constructor.
More...
#include <StormByte/exception.hxx>

Public Member Functions | |
| constexpr | Component (std::string_view name) noexcept |
Wraps name. | |
Public Attributes | |
| std::string_view | name |
Module name inserted after StormByte::. | |
Wraps a module name for the component-prefixed Exception constructor.
Exists only to disambiguate Exception(component, fmt, args...) from Exception(fmt, args...): with both taking a leading string-like parameter, overload resolution would otherwise silently prefer the fmt-only constructor and discard the component and message.
|
inlineexplicitconstexprnoexcept |
Wraps name.
| name | Module name. |
| std::string_view StormByte::Component::name |
Module name inserted after StormByte::.