#include <ArgStrToSizeT.h>
|
| unsigned long long | operator() (const std::string &s) |
Definition at line 13 of file ArgStrToSizeT.h.
◆ operator()()
| unsigned long long ArgStrToSizeT::operator() |
( |
const std::string & | s | ) |
|
|
inline |
Definition at line 16 of file ArgStrToSizeT.h.
16 {
17
18 static const std::array<std::string,4> posinf{"inf", "+inf", "pinf", "INF"};
19 unsigned long long val{0};
20 if(std::find(posinf.begin(), posinf.end(), s) != posinf.end()) {
21 val = std::numeric_limits<std::size_t>::max();
22 }
23 else {
25 }
26
28 }
The documentation for this class was generated from the following file: