AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::rest::ParamConverter< bool > Struct Reference

#include <paramConverter.hpp>

Inheritance diagram for anch::rest::ParamConverter< bool >:
Collaboration diagram for anch::rest::ParamConverter< bool >:

Static Public Member Functions

static std::optional< bool > convert (std::string_view value) noexcept

Detailed Description

Boolean path parameter: true or false

Member Function Documentation

◆ convert()

std::optional< bool > anch::rest::ParamConverter< bool >::convert ( std::string_view value)
staticnoexcept

Convert parameter

Parameters
valuethe parameter value
Returns
the boolean, empty when invalid

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