MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / operator|

Function operator|

include/CLI/ExtraValidators.hpp:558–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556};
557
558inline AsNumberWithUnit::Options operator|(const AsNumberWithUnit::Options &a, const AsNumberWithUnit::Options &b) {
559 return static_cast<AsNumberWithUnit::Options>(static_cast<int>(a) | static_cast<int>(b));
560}
561
562/// Converts a human-readable size string (with unit literal) to uin64_t size.
563/// Example:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected