Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::clara::TextFlow Namespace Reference

Classes

class  Column
 
class  Columns
 
class  Spacer
 

Functions

auto isWhitespace (char c) -> bool
 
auto isBreakableBefore (char c) -> bool
 
auto isBreakableAfter (char c) -> bool
 

Function Documentation

◆ isBreakableAfter()

auto Catch::clara::TextFlow::isBreakableAfter ( char c) -> bool
inline

Definition at line 67 of file clara.hpp.

67 {
68 static std::string chars = "])}>.,:;*+-=&/\\";
69 return chars.find(c) != std::string::npos;
70}

◆ isBreakableBefore()

auto Catch::clara::TextFlow::isBreakableBefore ( char c) -> bool
inline

Definition at line 63 of file clara.hpp.

63 {
64 static std::string chars = "[({<|";
65 return chars.find(c) != std::string::npos;
66}

◆ isWhitespace()

auto Catch::clara::TextFlow::isWhitespace ( char c) -> bool
inline

Definition at line 59 of file clara.hpp.

59 {
60 static std::string chars = " \t\n\r";
61 return chars.find(c) != std::string::npos;
62}
Here is the caller graph for this function: