OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
Loading...
Searching...
No Matches
oxy::directory::settings::remove_quote_fn Struct Reference

A function object that removes surrounding quotes from a string if they exist. More...

#include <settings.hpp>

Public Member Functions

std::string operator() (std::string input) const
 Removes surrounding quotes from the input string if they exist.

Detailed Description

A function object that removes surrounding quotes from a string if they exist.

Member Function Documentation

◆ operator()()

std::string oxy::directory::settings::remove_quote_fn::operator() ( std::string input) const
inline

Removes surrounding quotes from the input string if they exist.

Parameters
inputThe input string potentially containing surrounding quotes.
Returns
A string with surrounding quotes removed if they were present.