Maze Builder Docs 8.2.1
Loading...
Searching...
No Matches
mazes::app_contract Class Referenceabstract

Class for enforcing contracts on the runtime. More...

#include <app_contract.h>

Inheritance diagram for mazes::app_contract:
[legend]

Public Member Functions

virtual std::string_view apply (std::string_view unformatted_sv) noexcept=0
 Apply the contract to the given unformatted string view.
 

Detailed Description

Class for enforcing contracts on the runtime.

Member Function Documentation

◆ apply()

virtual std::string_view mazes::app_contract::apply ( std::string_view unformatted_sv)
nodiscardpure virtualnoexcept

Apply the contract to the given unformatted string view.

Parameters
unformatted_svThe unformatted string view to apply the contract to
Returns
The formatted string view after applying the contract

Implemented in mazes::runtime_app.


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